Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0007488/0.0007492, allocations: 92.95 kB / 16.02 MB, free: 84 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.0008409/0.000841, allocations: 178.4 kB / 16.92 MB, free: 6.645 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.375/1.375, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6939/0.6939, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003145/0.0003145, allocations: 21.05 kB / 495.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1612, allocations: 77.53 MB / 0.56 GB, free: 9.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01742/0.1787, allocations: 15.35 MB / 0.575 GB, free: 9.621 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009469/0.1882, allocations: 4.786 MB / 0.5796 GB, free: 4.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001665/0.1899, allocations: 55.69 kB / 0.5797 GB, free: 4.766 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.191, allocations: 254 kB / 0.5799 GB, free: 4.516 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002397/0.1934, allocations: 0.7002 MB / 0.5806 GB, free: 3.812 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002169/0.1956, allocations: 0.655 MB / 0.5812 GB, free: 3.156 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.3527/0.5482, allocations: 5.252 MB / 0.5864 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01005/0.5584, allocations: 5.828 MB / 0.5921 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00284/0.5612, allocations: 1.101 MB / 0.5931 GB, free: 14.65 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002835/0.5641, allocations: 1.512 MB / 0.5946 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000328/0.5644, allocations: 143.2 kB / 0.5948 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001856/0.5663, allocations: 0.7352 MB / 0.5955 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001722/0.568, allocations: 1.073 MB / 0.5965 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001613/0.5696, allocations: 1.186 MB / 0.5977 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006874/0.5765, allocations: 4.887 MB / 0.6025 GB, free: 13.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.5765, allocations: 3.938 kB / 0.6025 GB, free: 13.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5765, allocations: 0 / 0.6025 GB, free: 13.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000123/0.5767, allocations: 5.562 kB / 0.6025 GB, free: 13.51 MB / 446.1 MB 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.005708/0.5824, allocations: 2.166 MB / 0.6046 GB, free: 12.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.5824, allocations: 17.62 kB / 0.6046 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004085/0.5865, allocations: 0.8366 MB / 0.6054 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0025/0.5891, allocations: 1.497 MB / 0.6069 GB, free: 11.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.5892, allocations: 177.5 kB / 0.607 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004801/0.5897, allocations: 236.8 kB / 0.6073 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007221/0.5969, allocations: 4.169 MB / 0.6113 GB, free: 8.961 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.752e-05/0.597, allocations: 10.09 kB / 0.6113 GB, free: 8.953 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002834/0.5973, allocations: 100.7 kB / 0.6114 GB, free: 8.879 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002276/0.5975, allocations: 168.3 kB / 0.6116 GB, free: 8.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00574/0.6033, allocations: 3.645 MB / 0.6152 GB, free: 7.016 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01705/0.6203, allocations: 16.55 MB / 0.6313 GB, free: 8.613 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003204/0.6236, allocations: 2.301 MB / 0.6336 GB, free: 6.32 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008237/0.6244, allocations: 0.5819 MB / 0.6341 GB, free: 5.73 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001306/0.6246, allocations: 93.66 kB / 0.6342 GB, free: 5.621 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.6246, allocations: 39.12 kB / 0.6343 GB, free: 5.574 MB / 462.1 MB Notification: Performance of pre-optimization done (n=72): time 2.895e-06/0.6246, allocations: 4 kB / 0.6343 GB, free: 5.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=76): time 0.005755/0.6304, allocations: 3.454 MB / 0.6376 GB, free: 2.031 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.881e-05/0.6305, allocations: 111.5 kB / 0.6378 GB, free: 1.898 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/0.6319, allocations: 1.018 MB / 0.6387 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.014e-05/0.6319, allocations: 33.7 kB / 0.6388 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007745/0.6327, allocations: 1.107 MB / 0.6399 GB, free: 15.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000242/0.633, allocations: 285.1 kB / 0.6401 GB, free: 15.43 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.6331, allocations: 113.7 kB / 0.6402 GB, free: 15.31 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002518/0.6334, allocations: 414.7 kB / 0.6406 GB, free: 14.89 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008981/0.6343, allocations: 0.6246 MB / 0.6412 GB, free: 14.27 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001282/0.6356, allocations: 1.19 MB / 0.6424 GB, free: 12.83 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002349/0.6379, allocations: 1.87 MB / 0.6442 GB, free: 10.77 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/0.6379, allocations: 11.94 kB / 0.6442 GB, free: 10.76 MB / 478.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003062/0.641, allocations: 2.019 MB / 0.6462 GB, free: 8.754 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/0.6411, allocations: 24.06 kB / 0.6462 GB, free: 8.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/0.6411, allocations: 16 kB / 0.6463 GB, free: 8.715 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004519/0.6415, allocations: 163.3 kB / 0.6464 GB, free: 8.543 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.6427, allocations: 343.4 kB / 0.6467 GB, free: 8.207 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.545e-05/0.6427, allocations: 39.86 kB / 0.6468 GB, free: 8.168 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.6438, allocations: 139.7 kB / 0.6469 GB, free: 8.031 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003013/0.6441, allocations: 67.98 kB / 0.647 GB, free: 7.965 MB / 478.1 MB 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.00212/0.6462, allocations: 0.9771 MB / 0.6479 GB, free: 6.977 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003035/0.6465, allocations: 114.6 kB / 0.648 GB, free: 6.863 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002286/0.6488, allocations: 1.23 MB / 0.6492 GB, free: 5.609 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.6488, allocations: 15.94 kB / 0.6493 GB, free: 5.594 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.6489, allocations: 4 kB / 0.6493 GB, free: 5.59 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.6489, allocations: 3.984 kB / 0.6493 GB, free: 5.586 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006196/0.6551, allocations: 3.819 MB / 0.653 GB, free: 1.629 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/0.6551, allocations: 4 kB / 0.653 GB, free: 1.625 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007072/0.6558, allocations: 159.8 kB / 0.6531 GB, free: 1.469 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003677/0.6562, allocations: 143.6 kB / 0.6533 GB, free: 1.316 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.994e-05/0.6562, allocations: 16 kB / 0.6533 GB, free: 1.301 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.789e-06/0.6563, allocations: 7.938 kB / 0.6533 GB, free: 1.293 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/0.6563, allocations: 7.938 kB / 0.6533 GB, free: 1.285 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/0.6584, allocations: 1.48 MB / 0.6548 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000443/0.6588, allocations: 295.6 kB / 0.655 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.6589, allocations: 16 kB / 0.6551 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005967/0.6596, allocations: 79.89 kB / 0.6551 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002768/0.6598, allocations: 56.42 kB / 0.6552 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.381e-05/0.6599, allocations: 24 kB / 0.6552 GB, free: 15.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001087/0.661, allocations: 0.6914 MB / 0.6559 GB, free: 14.57 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.623e-06/0.661, allocations: 3.938 kB / 0.6559 GB, free: 14.57 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001711/0.6627, allocations: 399.9 kB / 0.6563 GB, free: 14.18 MB / 494.1 MB 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.0002597/0.663, allocations: 119.1 kB / 0.6564 GB, free: 14.05 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002939/0.6659, allocations: 1.718 MB / 0.6581 GB, free: 12.25 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6659, allocations: 0 / 0.6581 GB, free: 12.25 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001346/0.6673, allocations: 0.8709 MB / 0.6589 GB, free: 11.29 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/0.6691, allocations: 240.9 kB / 0.6591 GB, free: 11.05 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006979/0.676, allocations: 4.843 MB / 0.6639 GB, free: 6.152 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001964/0.678, allocations: 1.924 MB / 0.6657 GB, free: 4.191 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001141/0.6792, allocations: 449.6 kB / 0.6662 GB, free: 3.75 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/0.6794, allocations: 87.42 kB / 0.6663 GB, free: 3.664 MB / 494.1 MB Notification: Performance of SimCode: time 7.81e-07/0.6794, allocations: 4 kB / 0.6663 GB, free: 3.66 MB / 494.1 MB Notification: Performance of Templates: time 0.02443/0.7038, allocations: 12.7 MB / 0.6787 GB, free: 7.141 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)