Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 108.5 kB / 16.41 MB, free: 6.453 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.00125/0.00125, allocations: 191.8 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002566/0.002566, allocations: 291.3 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.069/1.069, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00275/0.00275, allocations: 103.8 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5029/0.5056, allocations: 86.97 MB / 0.7671 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04794/0.5535, allocations: 37.34 MB / 0.8035 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02415/0.5777, allocations: 13.54 MB / 0.8167 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003629/0.5813, allocations: 115.6 kB / 0.8169 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.006583/0.5879, allocations: 2.311 MB / 0.8191 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004104/0.592, allocations: 1.427 MB / 0.8205 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00904/0.6011, allocations: 3.538 MB / 0.824 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008549/0.6096, allocations: 6.379 MB / 0.8302 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009675/0.6193, allocations: 7.09 MB / 0.8371 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004426/0.6237, allocations: 2.758 MB / 0.8398 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005405/0.6291, allocations: 3.198 MB / 0.8429 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001639/0.6308, allocations: 0.6172 MB / 0.8435 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002726/0.6335, allocations: 1.233 MB / 0.8447 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002899/0.6364, allocations: 2.545 MB / 0.8472 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003739/0.6401, allocations: 2.545 MB / 0.8497 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01059/0.6507, allocations: 9.161 MB / 0.8587 GB, free: 5.734 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.6507, allocations: 0 / 0.8587 GB, free: 5.734 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6507, allocations: 0 / 0.8587 GB, free: 5.734 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002689/0.651, allocations: 4 kB / 0.8587 GB, free: 5.73 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.01148/0.6625, allocations: 4.41 MB / 0.863 GB, free: 1.246 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.6625, allocations: 8.031 kB / 0.863 GB, free: 1.238 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004308/0.6668, allocations: 0.9583 MB / 0.8639 GB, free: 284 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005064/0.6719, allocations: 2.23 MB / 0.8661 GB, free: 14 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002944/0.6722, allocations: 325 kB / 0.8664 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001095/0.6733, allocations: 424.3 kB / 0.8668 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01503/0.6883, allocations: 7.366 MB / 0.874 GB, free: 5.66 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.58e-05/0.6884, allocations: 15.83 kB / 0.874 GB, free: 5.645 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005195/0.6889, allocations: 191.9 kB / 0.8742 GB, free: 5.457 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003422/0.6893, allocations: 282.9 kB / 0.8745 GB, free: 5.18 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0127/0.702, allocations: 5.967 MB / 0.8803 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04642/0.7484, allocations: 32.41 MB / 0.9119 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003593/0.752, allocations: 2.037 MB / 0.9139 GB, free: 9.883 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001629/0.7536, allocations: 1.162 MB / 0.9151 GB, free: 8.711 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001807/0.7538, allocations: 110.1 kB / 0.9152 GB, free: 8.582 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.7538, allocations: 51.5 kB / 0.9152 GB, free: 8.523 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=98): time 2.705e-06/0.7538, allocations: 0 / 0.9152 GB, free: 8.523 MB / 0.6856 GB Notification: Performance of matching and sorting (n=101): time 0.008615/0.7624, allocations: 5.385 MB / 0.9205 GB, free: 3.113 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.7625, allocations: 145.4 kB / 0.9206 GB, free: 2.938 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002005/0.7646, allocations: 1.457 MB / 0.922 GB, free: 1.469 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001289/0.7647, allocations: 42.27 kB / 0.9221 GB, free: 1.422 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.00143/0.7661, allocations: 1.933 MB / 0.924 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004165/0.7665, allocations: 392.8 kB / 0.9243 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007133/0.7672, allocations: 463.4 kB / 0.9248 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.7674, allocations: 305.1 kB / 0.9251 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0017/0.7691, allocations: 1.118 MB / 0.9262 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002587/0.7717, allocations: 2.184 MB / 0.9283 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00442/0.7761, allocations: 3.395 MB / 0.9316 GB, free: 6.613 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.341e-05/0.7761, allocations: 16 kB / 0.9316 GB, free: 6.598 MB / 0.7012 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005415/0.7815, allocations: 3.317 MB / 0.9349 GB, free: 3.27 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.749e-05/0.7816, allocations: 23.94 kB / 0.9349 GB, free: 3.246 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.274e-05/0.7816, allocations: 36 kB / 0.9349 GB, free: 3.211 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.97e-05/0.7817, allocations: 44 kB / 0.935 GB, free: 3.168 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002224/0.7839, allocations: 0.6236 MB / 0.9356 GB, free: 2.547 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-05/0.7839, allocations: 63.78 kB / 0.9356 GB, free: 2.484 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/0.7859, allocations: 311.4 kB / 0.9359 GB, free: 2.18 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/0.7861, allocations: 119.9 kB / 0.936 GB, free: 2.062 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003956/0.79, allocations: 2.411 MB / 0.9384 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002344/0.7924, allocations: 2.008 MB / 0.9404 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003889/0.7963, allocations: 3.033 MB / 0.9433 GB, free: 9.574 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.835e-05/0.7963, allocations: 12 kB / 0.9433 GB, free: 9.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.004726/0.801, allocations: 2.934 MB / 0.9462 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.236e-05/0.801, allocations: 20 kB / 0.9462 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.172e-05/0.8011, allocations: 36 kB / 0.9463 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.576e-05/0.8011, allocations: 48 kB / 0.9463 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001928/0.8031, allocations: 0.5543 MB / 0.9468 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.273e-05/0.8031, allocations: 79.66 kB / 0.9469 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002114/0.8053, allocations: 243.3 kB / 0.9471 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/0.8054, allocations: 112 kB / 0.9473 GB, free: 5.539 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * 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.0006636/0.8061, allocations: 343.3 kB / 0.9476 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003513/0.8064, allocations: 159 kB / 0.9477 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003881/0.8103, allocations: 2.223 MB / 0.9499 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/0.8103, allocations: 15.94 kB / 0.9499 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.8103, allocations: 0 / 0.9499 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.8104, allocations: 7.984 kB / 0.9499 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01817/0.8285, allocations: 10.98 MB / 0.9607 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-05/0.8285, allocations: 12 kB / 0.9607 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001531/0.8301, allocations: 383.3 kB / 0.961 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.389e-05/0.8301, allocations: 19.98 kB / 0.961 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.724e-05/0.8302, allocations: 28 kB / 0.9611 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.706e-05/0.8302, allocations: 23.88 kB / 0.9611 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.871e-05/0.8302, allocations: 15.94 kB / 0.9611 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004077/0.8343, allocations: 2.772 MB / 0.9638 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/0.8353, allocations: 459.7 kB / 0.9643 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002195/0.8356, allocations: 36.16 kB / 0.9643 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.8367, allocations: 171.7 kB / 0.9645 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002358/0.8369, allocations: 96.16 kB / 0.9645 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.168e-05/0.837, allocations: 55.92 kB / 0.9646 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001498/0.8385, allocations: 0.9703 MB / 0.9655 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8385, allocations: 0 / 0.9655 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004233/0.8427, allocations: 1.129 MB / 0.9667 GB, free: 1.227 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 (104): * Single equations (assignments): 104 * 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.0003185/0.8431, allocations: 149.5 kB / 0.9668 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.3513/1.194, allocations: 3.818 MB / 0.9705 GB, free: 188.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/1.194, allocations: 1.625 kB / 0.9705 GB, free: 188.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001487/1.196, allocations: 1.029 MB / 0.9715 GB, free: 188.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002401/1.198, allocations: 444 kB / 0.972 GB, free: 188 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009719/1.208, allocations: 7.097 MB / 0.9789 GB, free: 184.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002271/1.21, allocations: 2.865 MB / 0.9817 GB, free: 183.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002459/1.213, allocations: 1.211 MB / 0.9829 GB, free: 183.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000431/1.213, allocations: 118.7 kB / 0.983 GB, free: 183.5 MB / 0.7325 GB Notification: Performance of SimCode: time 8.62e-07/1.213, allocations: 3.938 kB / 0.983 GB, free: 183.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.03424/1.247, allocations: 25.35 MB / 1.008 GB, free: 162.4 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)