Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.Loads_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",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.0007587/0.0007588, allocations: 91.22 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004761/0.004761, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.257/1.257, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.604/1.604, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.000514/0.0005141, allocations: 15.34 kB / 0.6744 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2036, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02049/0.2241, allocations: 19.63 MB / 0.8072 GB, free: 7.766 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01217/0.2363, allocations: 7.527 MB / 0.8145 GB, free: 224 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00149/0.2379, allocations: 55.81 kB / 0.8146 GB, free: 168 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0009704/0.2389, allocations: 369.4 kB / 0.8149 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002068/0.2409, allocations: 0.9223 MB / 0.8158 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002885/0.2438, allocations: 1.314 MB / 0.8171 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005619/0.2495, allocations: 6.437 MB / 0.8234 GB, free: 7.109 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009798/0.2593, allocations: 7.536 MB / 0.8308 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002115/0.2614, allocations: 1.249 MB / 0.832 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002634/0.2641, allocations: 1.877 MB / 0.8338 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003331/0.2644, allocations: 176 kB / 0.834 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001449/0.2659, allocations: 0.8266 MB / 0.8348 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00122/0.2671, allocations: 1.345 MB / 0.8361 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001322/0.2684, allocations: 1.378 MB / 0.8374 GB, free: 8.602 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004962/0.2734, allocations: 5.856 MB / 0.8432 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2734, allocations: 0 / 0.8432 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.936e-06/0.2734, allocations: 0 / 0.8432 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001135/0.2736, allocations: 4 kB / 0.8432 GB, free: 2.723 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.004692/0.2782, allocations: 2.443 MB / 0.8456 GB, free: 224 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.2783, allocations: 12.03 kB / 0.8456 GB, free: 212 kB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006266/0.2789, allocations: 446 kB / 0.846 GB, free: 15.76 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002847/0.2818, allocations: 0.6843 MB / 0.8467 GB, free: 15.07 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002306/0.2841, allocations: 1.54 MB / 0.8482 GB, free: 13.49 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/0.2843, allocations: 214.2 kB / 0.8484 GB, free: 13.28 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004626/0.2847, allocations: 284.3 kB / 0.8486 GB, free: 13 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007989/0.2927, allocations: 5.055 MB / 0.8536 GB, free: 7.758 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.096e-05/0.2928, allocations: 7.938 kB / 0.8536 GB, free: 7.75 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003124/0.2932, allocations: 128 kB / 0.8537 GB, free: 7.625 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002466/0.2934, allocations: 212.6 kB / 0.8539 GB, free: 7.414 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006481/0.2999, allocations: 4.184 MB / 0.858 GB, free: 3.215 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02306/0.323, allocations: 23.03 MB / 0.8805 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002644/0.3257, allocations: 1.716 MB / 0.8822 GB, free: 8.293 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001521/0.3272, allocations: 1.138 MB / 0.8833 GB, free: 7.145 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001496/0.3274, allocations: 97.73 kB / 0.8834 GB, free: 7.031 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.3274, allocations: 47.22 kB / 0.8834 GB, free: 6.977 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=84): time 2.575e-06/0.3274, allocations: 0 / 0.8834 GB, free: 6.977 MB / 0.7012 GB Notification: Performance of matching and sorting (n=87): time 0.005755/0.3332, allocations: 4.005 MB / 0.8873 GB, free: 2.938 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.3333, allocations: 137.2 kB / 0.8875 GB, free: 2.773 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009745/0.3343, allocations: 0.8526 MB / 0.8883 GB, free: 1.91 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.373e-05/0.3344, allocations: 41.7 kB / 0.8883 GB, free: 1.863 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006169/0.335, allocations: 1.158 MB / 0.8895 GB, free: 0.6875 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002551/0.3353, allocations: 315.5 kB / 0.8898 GB, free: 384 kB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.3355, allocations: 105.7 kB / 0.8899 GB, free: 272 kB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.3356, allocations: 406.7 kB / 0.8902 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.3368, allocations: 0.8066 MB / 0.891 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/0.3382, allocations: 1.287 MB / 0.8923 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002553/0.3408, allocations: 2.155 MB / 0.8944 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.3408, allocations: 7.938 kB / 0.8944 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003117/0.3439, allocations: 2.179 MB / 0.8965 GB, free: 8.996 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003291/0.3442, allocations: 0.5011 MB / 0.897 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.3443, allocations: 16 kB / 0.897 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.056e-05/0.3443, allocations: 23.98 kB / 0.8971 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/0.3459, allocations: 407.4 kB / 0.8974 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-05/0.3459, allocations: 31.86 kB / 0.8975 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.3471, allocations: 203.3 kB / 0.8977 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.3472, allocations: 63.98 kB / 0.8977 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.3472, allocations: 4 kB / 0.8977 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002574/0.3498, allocations: 1.773 MB / 0.8995 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.3498, allocations: 16 kB / 0.8995 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.3498, allocations: 20 kB / 0.8995 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.351, allocations: 351.4 kB / 0.8998 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.556e-05/0.3511, allocations: 32.3 kB / 0.8999 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008522/0.3519, allocations: 151.4 kB / 0.9 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.144e-05/0.352, allocations: 59.98 kB / 0.9001 GB, free: 5.176 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001824/0.3539, allocations: 1.172 MB / 0.9012 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/0.3541, allocations: 102.8 kB / 0.9013 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002865/0.357, allocations: 1.854 MB / 0.9031 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.357, allocations: 8 kB / 0.9031 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.357, allocations: 4 kB / 0.9031 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.357, allocations: 7.969 kB / 0.9031 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01254/0.3696, allocations: 9.588 MB / 0.9125 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/0.3696, allocations: 12 kB / 0.9125 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/0.3708, allocations: 315.5 kB / 0.9128 GB, free: 7.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-05/0.3709, allocations: 16 kB / 0.9128 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.215e-05/0.371, allocations: 28.44 kB / 0.9129 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-05/0.371, allocations: 31.86 kB / 0.9129 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.318e-05/0.371, allocations: 19.88 kB / 0.9129 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00286/0.3739, allocations: 2.41 MB / 0.9153 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005554/0.3744, allocations: 383.5 kB / 0.9156 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.3746, allocations: 31.98 kB / 0.9157 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008673/0.3755, allocations: 135.8 kB / 0.9158 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/0.3757, allocations: 95.39 kB / 0.9159 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.026e-05/0.3757, allocations: 40 kB / 0.9159 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007687/0.3765, allocations: 0.5965 MB / 0.9165 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3765, allocations: 0 / 0.9165 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002263/0.3788, allocations: 0.7461 MB / 0.9172 GB, free: 3.148 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (90): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3684/0.7472, allocations: 2.986 MB / 0.9201 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004872/0.7521, allocations: 2.837 MB / 0.9229 GB, free: 129.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/0.7521, allocations: 2 kB / 0.9229 GB, free: 129.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001357/0.7535, allocations: 0.9149 MB / 0.9238 GB, free: 129.4 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003035/0.7565, allocations: 285.3 kB / 0.9241 GB, free: 129.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0214/0.778, allocations: 16.76 MB / 0.9404 GB, free: 120.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002769/0.7808, allocations: 2.125 MB / 0.9425 GB, free: 119.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002134/0.7829, allocations: 0.7386 MB / 0.9432 GB, free: 119.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/0.7839, allocations: 0.8237 MB / 0.944 GB, free: 118.4 MB / 0.7325 GB Notification: Performance of SimCode: time 1.113e-06/0.7839, allocations: 1.25 kB / 0.944 GB, free: 118.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04866/0.8326, allocations: 30.41 MB / 0.9737 GB, free: 100.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002/0.8329, allocations: 221.3 kB / 0.974 GB, free: 100.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.183/3.016, allocations: 0 / 0.974 GB, free: 100.5 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)