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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002047/0.002046, allocations: 198 kB / 16.14 MB, free: 6.656 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.476/1.476, allocations: 205.1 MB / 222 MB, free: 4.723 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.852/1.852, allocations: 292.2 MB / 0.5484 GB, free: 13.71 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.001394/0.001394, allocations: 67.64 kB / 0.6708 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2931, allocations: 114.5 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01837/0.3116, allocations: 15.92 MB / 0.7982 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009136/0.3208, allocations: 4.868 MB / 0.803 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001837/0.3226, allocations: 63.62 kB / 0.803 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003009/0.3257, allocations: 0.9572 MB / 0.804 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002535/0.3283, allocations: 0.6963 MB / 0.8046 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002675/0.331, allocations: 0.8413 MB / 0.8055 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0068/0.3378, allocations: 5.26 MB / 0.8106 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009157/0.347, allocations: 5.42 MB / 0.8159 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003229/0.3502, allocations: 1.335 MB / 0.8172 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003647/0.3539, allocations: 1.815 MB / 0.819 GB, free: 8.684 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001145/0.3551, allocations: 236 kB / 0.8192 GB, free: 8.453 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002844/0.3579, allocations: 0.823 MB / 0.82 GB, free: 7.629 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002255/0.3602, allocations: 1.232 MB / 0.8212 GB, free: 6.395 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00346/0.3637, allocations: 1.342 MB / 0.8225 GB, free: 5.047 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007186/0.3709, allocations: 5.056 MB / 0.8275 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.3709, allocations: 0 / 0.8275 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3709, allocations: 0 / 0.8275 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002366/0.3712, allocations: 0 / 0.8275 GB, free: 15.98 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.00978/0.381, allocations: 2.647 MB / 0.83 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.682e-05/0.381, allocations: 12.03 kB / 0.83 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0049/0.386, allocations: 0.829 MB / 0.8309 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003556/0.3895, allocations: 1.501 MB / 0.8323 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001658/0.3897, allocations: 181.1 kB / 0.8325 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009351/0.3907, allocations: 236.3 kB / 0.8327 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008632/0.3993, allocations: 4.17 MB / 0.8368 GB, free: 6.16 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.812e-05/0.3994, allocations: 3.938 kB / 0.8368 GB, free: 6.156 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002813/0.3997, allocations: 99.98 kB / 0.8369 GB, free: 6.059 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002069/0.3999, allocations: 168.5 kB / 0.8371 GB, free: 5.891 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006606/0.4065, allocations: 3.635 MB / 0.8406 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02134/0.4279, allocations: 16.54 MB / 0.8568 GB, free: 276 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003338/0.4313, allocations: 2.292 MB / 0.859 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008869/0.4322, allocations: 0.578 MB / 0.8596 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001646/0.4324, allocations: 97.64 kB / 0.8597 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.4324, allocations: 43.12 kB / 0.8597 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=72): time 2.896e-06/0.4324, allocations: 0 / 0.8597 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.006343/0.4388, allocations: 3.432 MB / 0.8631 GB, free: 9.477 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.4389, allocations: 111.5 kB / 0.8632 GB, free: 9.344 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/0.4403, allocations: 1.018 MB / 0.8642 GB, free: 8.301 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.226e-05/0.4404, allocations: 45.64 kB / 0.8642 GB, free: 8.25 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006842/0.4411, allocations: 1.099 MB / 0.8653 GB, free: 7.133 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000224/0.4413, allocations: 272.2 kB / 0.8655 GB, free: 6.863 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003842/0.4417, allocations: 283.2 kB / 0.8658 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002181/0.4419, allocations: 414.7 kB / 0.8662 GB, free: 6.168 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008833/0.4428, allocations: 0.6207 MB / 0.8668 GB, free: 5.547 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001367/0.4442, allocations: 1.182 MB / 0.868 GB, free: 4.098 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002313/0.4465, allocations: 1.864 MB / 0.8698 GB, free: 1.969 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.154e-05/0.4465, allocations: 8 kB / 0.8698 GB, free: 1.961 MB / 0.6856 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003179/0.4497, allocations: 2.015 MB / 0.8717 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.486e-05/0.4498, allocations: 12 kB / 0.8718 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.773e-05/0.4498, allocations: 20 kB / 0.8718 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004544/0.4503, allocations: 167.2 kB / 0.8719 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.4514, allocations: 347.7 kB / 0.8723 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.682e-05/0.4514, allocations: 43.86 kB / 0.8723 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.4526, allocations: 123.7 kB / 0.8724 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.4527, allocations: 71.98 kB / 0.8725 GB, free: 15.14 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.001734/0.4544, allocations: 0.9855 MB / 0.8735 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002488/0.4547, allocations: 106.7 kB / 0.8736 GB, free: 14.04 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002019/0.4567, allocations: 1.23 MB / 0.8748 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/0.4567, allocations: 11.94 kB / 0.8748 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.4568, allocations: 7.984 kB / 0.8748 GB, free: 12.76 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.4568, allocations: 4 kB / 0.8748 GB, free: 12.76 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005971/0.4628, allocations: 3.8 MB / 0.8785 GB, free: 8.812 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.4628, allocations: 8.031 kB / 0.8785 GB, free: 8.805 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006245/0.4634, allocations: 155.8 kB / 0.8787 GB, free: 8.652 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004035/0.4638, allocations: 139.3 kB / 0.8788 GB, free: 8.504 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.849e-05/0.4639, allocations: 16 kB / 0.8788 GB, free: 8.488 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.711e-05/0.4639, allocations: 19.86 kB / 0.8788 GB, free: 8.469 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.464, allocations: 4 kB / 0.8788 GB, free: 8.465 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002097/0.4661, allocations: 1.464 MB / 0.8803 GB, free: 6.945 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005928/0.4667, allocations: 263.8 kB / 0.8805 GB, free: 6.668 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002278/0.4669, allocations: 27.92 kB / 0.8805 GB, free: 6.641 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000683/0.4676, allocations: 71.91 kB / 0.8806 GB, free: 6.57 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.4678, allocations: 56.42 kB / 0.8807 GB, free: 6.516 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.404e-05/0.4678, allocations: 20 kB / 0.8807 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001039/0.4689, allocations: 0.6992 MB / 0.8814 GB, free: 5.785 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.31e-07/0.4689, allocations: 0 / 0.8814 GB, free: 5.785 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001618/0.4705, allocations: 388 kB / 0.8817 GB, free: 5.406 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.0002821/0.4708, allocations: 135 kB / 0.8819 GB, free: 5.266 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002517/0.4733, allocations: 1.702 MB / 0.8835 GB, free: 3.477 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.4733, allocations: 4 kB / 0.8835 GB, free: 3.473 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009817/0.4743, allocations: 0.8636 MB / 0.8844 GB, free: 2.527 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.476, allocations: 257.3 kB / 0.8846 GB, free: 2.277 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007908/0.4839, allocations: 4.818 MB / 0.8893 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002199/0.4861, allocations: 1.923 MB / 0.8912 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00132/0.4875, allocations: 457.4 kB / 0.8916 GB, free: 10.99 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002894/0.4878, allocations: 83.42 kB / 0.8917 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of SimCode: time 7.52e-07/0.4878, allocations: 0 / 0.8917 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of Templates: time 0.02604/0.5138, allocations: 12.83 MB / 0.9042 GB, free: 14.2 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (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 & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)