Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 195.9 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.1 MB / 222.4 MB, free: 4.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.836/1.836, allocations: 292.3 MB / 0.5489 GB, free: 12.86 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 65.2 kB / 0.6716 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.269, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.0188/0.2878, allocations: 16.01 MB / 0.7991 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008382/0.2963, allocations: 4.864 MB / 0.8039 GB, free: 8.445 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001839/0.2982, allocations: 67.69 kB / 0.8039 GB, free: 8.379 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002968/0.3012, allocations: 1.045 MB / 0.8049 GB, free: 7.332 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002208/0.3034, allocations: 0.7464 MB / 0.8057 GB, free: 6.582 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.3059, allocations: 0.915 MB / 0.8066 GB, free: 5.668 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003889/0.3098, allocations: 3.618 MB / 0.8101 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005114/0.3149, allocations: 4.801 MB / 0.8148 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002451/0.3174, allocations: 1.57 MB / 0.8163 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002852/0.3203, allocations: 1.78 MB / 0.8181 GB, free: 9.809 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005767/0.3209, allocations: 340 kB / 0.8184 GB, free: 9.477 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002018/0.3229, allocations: 0.8036 MB / 0.8192 GB, free: 8.672 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001292/0.3242, allocations: 1.318 MB / 0.8205 GB, free: 7.352 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00151/0.3257, allocations: 1.455 MB / 0.8219 GB, free: 5.891 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005366/0.3311, allocations: 5.095 MB / 0.8269 GB, free: 0.7812 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/0.3312, allocations: 0 / 0.8269 GB, free: 0.7812 MB / 0.6387 GB Notification: Performance of FrontEnd: time 4.158e-06/0.3312, allocations: 4 kB / 0.8269 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001443/0.3314, allocations: 3.938 kB / 0.8269 GB, free: 0.7734 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.006027/0.3374, allocations: 2.651 MB / 0.8295 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.3374, allocations: 8.031 kB / 0.8295 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000501/0.338, allocations: 370.5 kB / 0.8298 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003895/0.3419, allocations: 0.829 MB / 0.8306 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002764/0.3446, allocations: 1.497 MB / 0.8321 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.3448, allocations: 181.1 kB / 0.8323 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004247/0.3452, allocations: 232.3 kB / 0.8325 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006778/0.352, allocations: 4.165 MB / 0.8365 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.073e-05/0.3521, allocations: 7.875 kB / 0.8366 GB, free: 6.586 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002504/0.3523, allocations: 108 kB / 0.8367 GB, free: 6.48 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001935/0.3525, allocations: 168.5 kB / 0.8368 GB, free: 6.312 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005611/0.3582, allocations: 3.628 MB / 0.8404 GB, free: 2.668 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01784/0.376, allocations: 16.54 MB / 0.8565 GB, free: 0.6992 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003288/0.3794, allocations: 2.308 MB / 0.8588 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008131/0.3802, allocations: 0.5741 MB / 0.8593 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001688/0.3804, allocations: 105.6 kB / 0.8594 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.3804, allocations: 43.06 kB / 0.8595 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=72): time 3.456e-06/0.3804, allocations: 0 / 0.8595 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.005567/0.386, allocations: 3.424 MB / 0.8628 GB, free: 9.902 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/0.3861, allocations: 115.5 kB / 0.8629 GB, free: 9.766 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.3873, allocations: 1.018 MB / 0.8639 GB, free: 8.723 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.866e-05/0.3874, allocations: 41.7 kB / 0.864 GB, free: 8.676 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006301/0.388, allocations: 1.107 MB / 0.865 GB, free: 7.551 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000199/0.3882, allocations: 264.2 kB / 0.8653 GB, free: 7.289 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003464/0.3886, allocations: 287.1 kB / 0.8656 GB, free: 7.004 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.3888, allocations: 418.7 kB / 0.866 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008308/0.3896, allocations: 0.6128 MB / 0.8666 GB, free: 5.973 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001259/0.3909, allocations: 1.197 MB / 0.8677 GB, free: 4.516 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002079/0.393, allocations: 1.856 MB / 0.8695 GB, free: 2.395 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/0.393, allocations: 11.98 kB / 0.8696 GB, free: 2.383 MB / 0.6856 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003/0.396, allocations: 2.006 MB / 0.8715 GB, free: 364 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.212e-05/0.396, allocations: 18.66 kB / 0.8715 GB, free: 348 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-05/0.3961, allocations: 16.62 kB / 0.8715 GB, free: 332 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004247/0.3965, allocations: 163.3 kB / 0.8717 GB, free: 156 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.3976, allocations: 347.4 kB / 0.872 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.047e-05/0.3977, allocations: 39.86 kB / 0.8721 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.3988, allocations: 131.7 kB / 0.8722 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/0.399, allocations: 67.98 kB / 0.8723 GB, free: 15.58 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001535/0.4005, allocations: 0.9767 MB / 0.8732 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002643/0.4008, allocations: 106.7 kB / 0.8733 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002004/0.4028, allocations: 1.237 MB / 0.8745 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.4028, allocations: 11.94 kB / 0.8745 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.4028, allocations: 4 kB / 0.8745 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.4029, allocations: 3.984 kB / 0.8745 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005566/0.4084, allocations: 3.811 MB / 0.8783 GB, free: 9.242 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.4085, allocations: 0 / 0.8783 GB, free: 9.242 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005938/0.4091, allocations: 159.8 kB / 0.8784 GB, free: 9.086 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003401/0.4094, allocations: 143.6 kB / 0.8786 GB, free: 8.934 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.575e-05/0.4095, allocations: 16 kB / 0.8786 GB, free: 8.918 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.536e-06/0.4095, allocations: 7.938 kB / 0.8786 GB, free: 8.91 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.716e-06/0.4095, allocations: 11.92 kB / 0.8786 GB, free: 8.898 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00214/0.4117, allocations: 1.461 MB / 0.88 GB, free: 7.387 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005254/0.4122, allocations: 271.7 kB / 0.8803 GB, free: 7.102 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.4123, allocations: 19.98 kB / 0.8803 GB, free: 7.082 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005863/0.4129, allocations: 67.84 kB / 0.8804 GB, free: 7.016 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.4131, allocations: 60.42 kB / 0.8804 GB, free: 6.957 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-05/0.4131, allocations: 28 kB / 0.8804 GB, free: 6.93 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009007/0.414, allocations: 0.6914 MB / 0.8811 GB, free: 6.227 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4141, allocations: 0 / 0.8811 GB, free: 6.227 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001376/0.4154, allocations: 392 kB / 0.8815 GB, free: 5.844 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002253/0.4177, allocations: 2.04 MB / 0.8835 GB, free: 3.734 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002942/0.4207, allocations: 2.018 MB / 0.8855 GB, free: 1.629 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.4207, allocations: 2 kB / 0.8855 GB, free: 1.629 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008895/0.4216, allocations: 0.8586 MB / 0.8863 GB, free: 0.6875 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/0.4231, allocations: 269.3 kB / 0.8866 GB, free: 436 kB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01928/0.4424, allocations: 13.33 MB / 0.8996 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001786/0.4443, allocations: 1.92 MB / 0.9014 GB, free: 288 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001257/0.4456, allocations: 453.6 kB / 0.9019 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008723/0.4465, allocations: 0.7178 MB / 0.9026 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of SimCode: time 9.52e-07/0.4465, allocations: 0 / 0.9026 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4473/0.8937, allocations: 27.27 MB / 0.9292 GB, free: 129.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.746/10.64, allocations: 14.67 kB / 0.9292 GB, free: 129.6 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)