Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001024/0.001024, allocations: 92.41 kB / 16.67 MB, free: 6.594 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.00111/0.00111, allocations: 181.9 kB / 17.58 MB, free: 6.188 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.396/1.396, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7069/0.7069, allocations: 115.5 MB / 408.2 MB, free: 7.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003594, allocations: 15.98 kB / 496.5 MB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4298/0.4302, allocations: 77.51 MB / 0.5606 GB, free: 35.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.03732/0.4675, allocations: 36 MB / 0.5958 GB, free: 11.49 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02339/0.491, allocations: 13.47 MB / 0.6089 GB, free: 1.719 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004627/0.4956, allocations: 97.56 kB / 0.609 GB, free: 1.695 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002587/0.4983, allocations: 0.6 MB / 0.6096 GB, free: 1.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004623/0.5029, allocations: 1.331 MB / 0.6109 GB, free: 15.9 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006612/0.5095, allocations: 1.932 MB / 0.6128 GB, free: 13.98 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01108/0.5206, allocations: 9.586 MB / 0.6221 GB, free: 4.383 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01986/0.5405, allocations: 11.92 MB / 0.6338 GB, free: 8.402 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003906/0.5445, allocations: 1.821 MB / 0.6355 GB, free: 6.574 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005103/0.5496, allocations: 2.71 MB / 0.6382 GB, free: 3.855 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00125/0.5509, allocations: 255.9 kB / 0.6384 GB, free: 3.605 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003017/0.5539, allocations: 1.053 MB / 0.6395 GB, free: 2.551 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003064/0.557, allocations: 1.992 MB / 0.6414 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004013/0.5611, allocations: 2.023 MB / 0.6434 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008721/0.5698, allocations: 7.677 MB / 0.6509 GB, free: 6.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.5699, allocations: 0 / 0.6509 GB, free: 6.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.5699, allocations: 4 kB / 0.6509 GB, free: 6.816 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000293/0.5702, allocations: 0 / 0.6509 GB, free: 6.816 MB / 494.1 MB 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.00891/0.5791, allocations: 3.393 MB / 0.6542 GB, free: 3.355 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/0.5792, allocations: 15.97 kB / 0.6542 GB, free: 3.34 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004832/0.584, allocations: 0.948 MB / 0.6551 GB, free: 2.387 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004568/0.5886, allocations: 2.179 MB / 0.6573 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003502/0.589, allocations: 329.1 kB / 0.6576 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001446/0.5904, allocations: 428.3 kB / 0.658 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01654/0.607, allocations: 7.37 MB / 0.6652 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001821/0.6072, allocations: 15.78 kB / 0.6652 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001131/0.6084, allocations: 184 kB / 0.6654 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003749/0.6087, allocations: 286.9 kB / 0.6657 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0122/0.6209, allocations: 5.963 MB / 0.6715 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04249/0.6635, allocations: 32.63 MB / 0.7033 GB, free: 13.88 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003736/0.6673, allocations: 2.119 MB / 0.7054 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001752/0.6691, allocations: 1.241 MB / 0.7066 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001909/0.6693, allocations: 110 kB / 0.7067 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.6693, allocations: 47.5 kB / 0.7068 GB, free: 10.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=98): time 2.996e-06/0.6693, allocations: 0 / 0.7068 GB, free: 10.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=101): time 0.008317/0.6777, allocations: 5.231 MB / 0.7119 GB, free: 5.023 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.303e-05/0.6778, allocations: 149.4 kB / 0.712 GB, free: 4.848 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002023/0.6798, allocations: 1.453 MB / 0.7134 GB, free: 3.383 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001898/0.68, allocations: 45.7 kB / 0.7135 GB, free: 3.332 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001306/0.6813, allocations: 1.859 MB / 0.7153 GB, free: 1.445 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005035/0.6819, allocations: 378.9 kB / 0.7157 GB, free: 1.07 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000284/0.6822, allocations: 169.7 kB / 0.7158 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.6823, allocations: 305.1 kB / 0.7161 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001753/0.684, allocations: 1.113 MB / 0.7172 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002537/0.6866, allocations: 2.184 MB / 0.7193 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004364/0.691, allocations: 3.403 MB / 0.7227 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.65e-05/0.691, allocations: 12 kB / 0.7227 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005713/0.6968, allocations: 3.312 MB / 0.7259 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008803/0.6977, allocations: 1.09 MB / 0.727 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.567e-05/0.6977, allocations: 32 kB / 0.727 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.658e-05/0.6978, allocations: 48.14 kB / 0.7271 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00238/0.7002, allocations: 0.6239 MB / 0.7277 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.969e-05/0.7003, allocations: 67.72 kB / 0.7277 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002107/0.7024, allocations: 306.7 kB / 0.728 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002845/0.7027, allocations: 123.9 kB / 0.7281 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.7028, allocations: 4 kB / 0.7281 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004615/0.7074, allocations: 2.757 MB / 0.7308 GB, free: 44 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-05/0.7075, allocations: 32 kB / 0.7309 GB, free: 12 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.957e-05/0.7075, allocations: 48.05 kB / 0.7309 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001897/0.7095, allocations: 0.5537 MB / 0.7314 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.987e-05/0.7095, allocations: 67.72 kB / 0.7315 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/0.7113, allocations: 223.3 kB / 0.7317 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002968/0.7116, allocations: 115.9 kB / 0.7318 GB, free: 15.01 MB / 0.5762 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.00327/0.7149, allocations: 1.706 MB / 0.7335 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004942/0.7154, allocations: 158.1 kB / 0.7337 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003928/0.7193, allocations: 2.231 MB / 0.7358 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/0.7194, allocations: 12 kB / 0.7358 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/0.7194, allocations: 4 kB / 0.7358 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.839e-05/0.7194, allocations: 7.922 kB / 0.7359 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3246/1.044, allocations: 10.97 MB / 0.7466 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.771e-05/1.044, allocations: 15.89 kB / 0.7466 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001859/1.046, allocations: 390.7 kB / 0.747 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.87e-05/1.046, allocations: 17.72 kB / 0.747 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001254/1.046, allocations: 31.23 kB / 0.747 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.129e-05/1.046, allocations: 22.22 kB / 0.747 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.331e-05/1.046, allocations: 23.34 kB / 0.747 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003854/1.05, allocations: 2.757 MB / 0.7497 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008883/1.051, allocations: 474.2 kB / 0.7502 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002403/1.051, allocations: 36.02 kB / 0.7502 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/1.052, allocations: 165.5 kB / 0.7504 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002259/1.053, allocations: 100.3 kB / 0.7505 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.972e-05/1.053, allocations: 37.12 kB / 0.7505 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001706/1.054, allocations: 0.9783 MB / 0.7515 GB, free: 153 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.01e-07/1.054, allocations: 0 / 0.7515 GB, free: 153 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00447/1.059, allocations: 1.126 MB / 0.7526 GB, free: 153 MB / 0.5762 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.000311/1.059, allocations: 145.6 kB / 0.7527 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006589/1.066, allocations: 3.984 MB / 0.7566 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.745e-05/1.066, allocations: 1.156 kB / 0.7566 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001695/1.068, allocations: 1.062 MB / 0.7576 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004891/1.073, allocations: 412.6 kB / 0.758 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01443/1.087, allocations: 9.467 MB / 0.7673 GB, free: 145.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003905/1.091, allocations: 2.944 MB / 0.7701 GB, free: 144.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008222/1.092, allocations: 138.8 kB / 0.7703 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of SimCode: time 1.052e-06/1.092, allocations: 0 / 0.7703 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.05725/1.149, allocations: 40.2 MB / 0.8095 GB, free: 117.8 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)