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.004987/0.004987, allocations: 101.6 kB / 15.73 MB, free: 6.047 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.001152/0.001152, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002124/0.002124, allocations: 291 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9403/0.9403, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 103.8 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1645, allocations: 86.98 MB / 0.7664 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.4176/0.5822, allocations: 37.25 MB / 0.8028 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02706/0.6093, allocations: 13.53 MB / 0.816 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004603/0.6139, allocations: 114.1 kB / 0.8161 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.006902/0.6209, allocations: 2.275 MB / 0.8183 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005157/0.6261, allocations: 1.426 MB / 0.8197 GB, free: 15 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01041/0.6365, allocations: 3.523 MB / 0.8231 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008904/0.6454, allocations: 6.405 MB / 0.8294 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01574/0.6612, allocations: 9.895 MB / 0.8391 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005082/0.6663, allocations: 2.765 MB / 0.8418 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006474/0.6728, allocations: 3.193 MB / 0.8449 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002518/0.6754, allocations: 0.6242 MB / 0.8455 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004325/0.6797, allocations: 1.228 MB / 0.8467 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.004217/0.6839, allocations: 2.476 MB / 0.8491 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.005157/0.6891, allocations: 2.545 MB / 0.8516 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.009091/0.6982, allocations: 9.146 MB / 0.8605 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.6983, allocations: 0 / 0.8605 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.695e-06/0.6983, allocations: 0 / 0.8605 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001699/0.6984, allocations: 4 kB / 0.8605 GB, free: 3.18 MB / 0.6075 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.007801/0.7062, allocations: 4.299 MB / 0.8647 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.7063, allocations: 12.02 kB / 0.8647 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003646/0.71, allocations: 0.952 MB / 0.8657 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003526/0.7135, allocations: 2.218 MB / 0.8678 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000223/0.7137, allocations: 329 kB / 0.8682 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006378/0.7144, allocations: 420.3 kB / 0.8686 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01072/0.7251, allocations: 7.366 MB / 0.8757 GB, free: 3.234 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.438e-05/0.7252, allocations: 15.78 kB / 0.8758 GB, free: 3.219 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004267/0.7256, allocations: 192 kB / 0.8759 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002905/0.7259, allocations: 286.9 kB / 0.8762 GB, free: 2.75 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008766/0.7347, allocations: 5.963 MB / 0.882 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03209/0.7668, allocations: 32.35 MB / 0.9136 GB, free: 9.582 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003056/0.7699, allocations: 2.115 MB / 0.9157 GB, free: 7.434 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001466/0.7714, allocations: 1.24 MB / 0.9169 GB, free: 6.184 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001738/0.7716, allocations: 102.1 kB / 0.917 GB, free: 6.062 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.7717, allocations: 47.55 kB / 0.917 GB, free: 6.008 MB / 0.67 GB Notification: Performance of pre-optimization done (n=98): time 4.599e-06/0.7717, allocations: 0 / 0.917 GB, free: 6.008 MB / 0.67 GB Notification: Performance of matching and sorting (n=101): time 0.007316/0.779, allocations: 5.223 MB / 0.9221 GB, free: 0.7422 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.574e-05/0.7791, allocations: 161.3 kB / 0.9223 GB, free: 0.5508 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/0.781, allocations: 1.449 MB / 0.9237 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.609e-05/0.7811, allocations: 49.7 kB / 0.9238 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001095/0.7822, allocations: 1.855 MB / 0.9256 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003473/0.7825, allocations: 374.9 kB / 0.9259 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006483/0.7832, allocations: 467.3 kB / 0.9264 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.693e-05/0.7833, allocations: 301.1 kB / 0.9267 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001551/0.7848, allocations: 1.122 MB / 0.9278 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002305/0.7871, allocations: 2.176 MB / 0.9299 GB, free: 8.191 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004008/0.7912, allocations: 3.403 MB / 0.9332 GB, free: 4.316 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.712e-05/0.7912, allocations: 8 kB / 0.9332 GB, free: 4.309 MB / 0.6856 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004605/0.7958, allocations: 3.316 MB / 0.9365 GB, free: 0.9805 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.75e-05/0.7959, allocations: 18.38 kB / 0.9365 GB, free: 0.9648 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.515e-05/0.7959, allocations: 40 kB / 0.9365 GB, free: 0.9258 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.421e-05/0.796, allocations: 48 kB / 0.9366 GB, free: 0.8789 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002215/0.7982, allocations: 0.6199 MB / 0.9372 GB, free: 264 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.822e-05/0.7982, allocations: 67.73 kB / 0.9372 GB, free: 196 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/0.7999, allocations: 306.7 kB / 0.9375 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001665/0.8, allocations: 120 kB / 0.9376 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00333/0.8034, allocations: 2.401 MB / 0.94 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001914/0.8053, allocations: 2.019 MB / 0.942 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003188/0.8085, allocations: 3.029 MB / 0.9449 GB, free: 7.289 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.34e-05/0.8085, allocations: 8 kB / 0.9449 GB, free: 7.281 MB / 0.7012 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.004043/0.8126, allocations: 2.922 MB / 0.9478 GB, free: 4.352 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.8126, allocations: 20 kB / 0.9478 GB, free: 4.332 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.823e-05/0.8126, allocations: 39.94 kB / 0.9478 GB, free: 4.293 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.878e-05/0.8127, allocations: 51.98 kB / 0.9479 GB, free: 4.242 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/0.8143, allocations: 0.5498 MB / 0.9484 GB, free: 3.691 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.764e-05/0.8144, allocations: 71.72 kB / 0.9485 GB, free: 3.621 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/0.8159, allocations: 259.2 kB / 0.9487 GB, free: 3.367 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/0.816, allocations: 108 kB / 0.9488 GB, free: 3.262 MB / 0.7012 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.0004387/0.8165, allocations: 339.9 kB / 0.9492 GB, free: 2.922 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002539/0.8167, allocations: 154.1 kB / 0.9493 GB, free: 2.77 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003111/0.8198, allocations: 2.223 MB / 0.9515 GB, free: 0.5312 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.8199, allocations: 11.94 kB / 0.9515 GB, free: 0.5195 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/0.8199, allocations: 4 kB / 0.9515 GB, free: 0.5156 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.8199, allocations: 11.97 kB / 0.9515 GB, free: 0.5039 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01355/0.8335, allocations: 10.97 MB / 0.9622 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.451e-05/0.8335, allocations: 12.97 kB / 0.9622 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001387/0.8349, allocations: 383.3 kB / 0.9626 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.825e-05/0.8349, allocations: 20 kB / 0.9626 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.625e-05/0.835, allocations: 32 kB / 0.9626 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.718e-05/0.835, allocations: 23.92 kB / 0.9627 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.755e-05/0.8351, allocations: 19.88 kB / 0.9627 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003106/0.8382, allocations: 2.755 MB / 0.9654 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006966/0.8389, allocations: 454.8 kB / 0.9658 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001792/0.8391, allocations: 35.91 kB / 0.9658 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.8401, allocations: 171.7 kB / 0.966 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001934/0.8403, allocations: 100.2 kB / 0.9661 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.132e-05/0.8404, allocations: 36 kB / 0.9661 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001232/0.8416, allocations: 0.9742 MB / 0.9671 GB, free: 116 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8416, allocations: 4 kB / 0.9671 GB, free: 112 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003416/0.845, allocations: 1.125 MB / 0.9682 GB, free: 14.98 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.0002271/0.8453, allocations: 154.8 kB / 0.9683 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005385/0.8507, allocations: 4.008 MB / 0.9722 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.8507, allocations: 448 / 0.9723 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001368/0.8521, allocations: 1.063 MB / 0.9733 GB, free: 9.77 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002088/0.8542, allocations: 444.7 kB / 0.9737 GB, free: 9.375 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.8646, allocations: 7.004 MB / 0.9806 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002719/0.8673, allocations: 2.868 MB / 0.9834 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0026/0.8699, allocations: 1.211 MB / 0.9845 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004463/0.8704, allocations: 115.4 kB / 0.9846 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of SimCode: time 5.61e-07/0.8704, allocations: 3.938 kB / 0.9846 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of Templates: time 0.03801/0.9084, allocations: 25.18 MB / 1.009 GB, free: 4.996 MB / 0.7637 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)