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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008566/0.0008567, allocations: 91.45 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.00614/0.006141, allocations: 169.8 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.579/1.579, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.776/1.776, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.000989/0.0009893, allocations: 13.97 kB / 0.6743 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2389, allocations: 116.3 MB / 0.7879 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02356/0.2625, allocations: 19.64 MB / 0.8071 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01311/0.2756, allocations: 7.531 MB / 0.8144 GB, free: 348 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001966/0.2777, allocations: 51.81 kB / 0.8145 GB, free: 296 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.279, allocations: 365.4 kB / 0.8148 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002926/0.282, allocations: 0.9262 MB / 0.8157 GB, free: 15 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004622/0.2866, allocations: 1.314 MB / 0.817 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008318/0.295, allocations: 6.441 MB / 0.8233 GB, free: 7.23 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01297/0.308, allocations: 7.525 MB / 0.8306 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002982/0.311, allocations: 1.245 MB / 0.8318 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004634/0.3157, allocations: 1.881 MB / 0.8337 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001123/0.3169, allocations: 176 kB / 0.8339 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002466/0.3194, allocations: 0.8266 MB / 0.8347 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002698/0.3221, allocations: 1.341 MB / 0.836 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003193/0.3253, allocations: 1.378 MB / 0.8373 GB, free: 8.738 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007124/0.3324, allocations: 5.864 MB / 0.843 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3325, allocations: 0 / 0.843 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.436e-06/0.3325, allocations: 0 / 0.843 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001893/0.3327, allocations: 4 kB / 0.843 GB, free: 2.852 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.007574/0.3403, allocations: 2.443 MB / 0.8454 GB, free: 356 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.3404, allocations: 12.03 kB / 0.8454 GB, free: 344 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003898/0.3443, allocations: 0.6843 MB / 0.8461 GB, free: 15.65 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003562/0.3479, allocations: 1.536 MB / 0.8476 GB, free: 14.07 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003001/0.3482, allocations: 222.1 kB / 0.8478 GB, free: 13.85 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001287/0.3495, allocations: 280.4 kB / 0.8481 GB, free: 13.57 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01648/0.366, allocations: 5.059 MB / 0.853 GB, free: 8.328 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001966/0.3663, allocations: 7.938 kB / 0.853 GB, free: 8.32 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001517/0.3678, allocations: 120 kB / 0.8532 GB, free: 8.203 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004009/0.3682, allocations: 208.6 kB / 0.8534 GB, free: 7.996 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0104/0.3786, allocations: 4.188 MB / 0.8574 GB, free: 3.793 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03338/0.4121, allocations: 23.03 MB / 0.8799 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003108/0.4152, allocations: 1.723 MB / 0.8816 GB, free: 8.863 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001748/0.417, allocations: 1.122 MB / 0.8827 GB, free: 7.73 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001889/0.4172, allocations: 101.7 kB / 0.8828 GB, free: 7.613 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/0.4173, allocations: 51.16 kB / 0.8829 GB, free: 7.555 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=84): time 3.006e-06/0.4173, allocations: 0 / 0.8829 GB, free: 7.555 MB / 0.7012 GB Notification: Performance of matching and sorting (n=87): time 0.007801/0.4251, allocations: 4.008 MB / 0.8868 GB, free: 3.512 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.915e-05/0.4253, allocations: 137.2 kB / 0.8869 GB, free: 3.348 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/0.4269, allocations: 0.8447 MB / 0.8877 GB, free: 2.492 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001314/0.427, allocations: 41.7 kB / 0.8878 GB, free: 2.445 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001066/0.4281, allocations: 1.162 MB / 0.8889 GB, free: 1.266 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004406/0.4285, allocations: 307.7 kB / 0.8892 GB, free: 0.9609 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002284/0.4288, allocations: 101.7 kB / 0.8893 GB, free: 0.8555 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0003954/0.4292, allocations: 410.7 kB / 0.8897 GB, free: 456 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/0.4306, allocations: 0.795 MB / 0.8905 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001646/0.4322, allocations: 1.299 MB / 0.8917 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003251/0.4355, allocations: 2.155 MB / 0.8938 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.847e-05/0.4355, allocations: 7.938 kB / 0.8938 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003802/0.4393, allocations: 2.179 MB / 0.896 GB, free: 9.582 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004469/0.4398, allocations: 0.4953 MB / 0.8964 GB, free: 8.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.787e-05/0.4398, allocations: 12 kB / 0.8965 GB, free: 8.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.461e-05/0.4399, allocations: 20 kB / 0.8965 GB, free: 8.859 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/0.4415, allocations: 415.3 kB / 0.8969 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.018e-05/0.4416, allocations: 35.86 kB / 0.8969 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/0.443, allocations: 207.2 kB / 0.8971 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/0.4432, allocations: 56.08 kB / 0.8972 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.4432, allocations: 10.59 kB / 0.8972 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002898/0.4461, allocations: 1.773 MB / 0.8989 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.117e-05/0.4461, allocations: 12 kB / 0.8989 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.154e-05/0.4462, allocations: 24.16 kB / 0.8989 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/0.4475, allocations: 363.4 kB / 0.8993 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.955e-05/0.4475, allocations: 27.92 kB / 0.8993 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.4486, allocations: 147.4 kB / 0.8995 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/0.4488, allocations: 59.92 kB / 0.8995 GB, free: 5.758 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.002231/0.451, allocations: 1.176 MB / 0.9007 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003723/0.4514, allocations: 98.78 kB / 0.9008 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003111/0.4545, allocations: 1.85 MB / 0.9026 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-05/0.4545, allocations: 12 kB / 0.9026 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.4546, allocations: 0 / 0.9026 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/0.4546, allocations: 3.984 kB / 0.9026 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01462/0.4692, allocations: 9.597 MB / 0.9119 GB, free: 8.742 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.554e-05/0.4693, allocations: 12 kB / 0.912 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/0.4706, allocations: 311.6 kB / 0.9123 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.528e-05/0.4706, allocations: 16 kB / 0.9123 GB, free: 8.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/0.4707, allocations: 28 kB / 0.9123 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-05/0.4708, allocations: 19.94 kB / 0.9123 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.597e-05/0.4708, allocations: 27.86 kB / 0.9123 GB, free: 8.336 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003179/0.474, allocations: 2.41 MB / 0.9147 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007485/0.4747, allocations: 391.5 kB / 0.9151 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002459/0.475, allocations: 28 kB / 0.9151 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.4761, allocations: 143.8 kB / 0.9152 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002241/0.4763, allocations: 99.33 kB / 0.9153 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.01e-05/0.4764, allocations: 32 kB / 0.9154 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009406/0.4774, allocations: 0.5926 MB / 0.9159 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4774, allocations: 0 / 0.9159 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003217/0.4806, allocations: 0.75 MB / 0.9167 GB, free: 3.73 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.0003247/0.481, allocations: 150.9 kB / 0.9168 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00493/0.4859, allocations: 2.834 MB / 0.9196 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.35e-05/0.4859, allocations: 4 kB / 0.9196 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.4458/0.9318, allocations: 0.9131 MB / 0.9205 GB, free: 127.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003621/0.9354, allocations: 284.5 kB / 0.9207 GB, free: 127.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00992/0.9454, allocations: 6.219 MB / 0.9268 GB, free: 124.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002157/0.9476, allocations: 2.127 MB / 0.9289 GB, free: 124 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001848/0.9494, allocations: 0.7398 MB / 0.9296 GB, free: 124 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003523/0.9498, allocations: 82.47 kB / 0.9297 GB, free: 124 MB / 0.7325 GB Notification: Performance of SimCode: time 1.142e-06/0.9498, allocations: 0 / 0.9297 GB, free: 124 MB / 0.7325 GB Notification: Performance of Templates: time 0.03174/0.9816, allocations: 16.47 MB / 0.9458 GB, free: 120.3 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) Environment - environmentSimulation: