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.001196/0.001196, allocations: 106.1 kB / 16.4 MB, free: 6.492 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.001223/0.001223, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.274/1.274, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6665/0.6665, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 64.08 kB / 0.5577 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1175, allocations: 76.18 MB / 0.6321 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01766/0.1352, allocations: 15.99 MB / 0.6477 GB, free: 4.367 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00722/0.1425, allocations: 4.828 MB / 0.6524 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009746/0.1435, allocations: 63.69 kB / 0.6525 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002525/0.146, allocations: 1.048 MB / 0.6535 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001591/0.1476, allocations: 0.7464 MB / 0.6542 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002021/0.1497, allocations: 0.9105 MB / 0.6551 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003366/0.153, allocations: 3.614 MB / 0.6586 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00495/0.158, allocations: 4.773 MB / 0.6633 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001878/0.1599, allocations: 1.589 MB / 0.6649 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002332/0.1622, allocations: 1.784 MB / 0.6666 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000647/0.1629, allocations: 340 kB / 0.6669 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001515/0.1644, allocations: 0.7919 MB / 0.6677 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001286/0.1657, allocations: 1.326 MB / 0.669 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001296/0.167, allocations: 1.455 MB / 0.6704 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004049/0.1711, allocations: 5.138 MB / 0.6754 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1711, allocations: 0 / 0.6754 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1711, allocations: 0 / 0.6754 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.354e-05/0.1712, allocations: 0 / 0.6754 GB, free: 7.836 MB / 0.5137 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.004029/0.1752, allocations: 2.654 MB / 0.678 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.1752, allocations: 8.031 kB / 0.678 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003662/0.1789, allocations: 0.829 MB / 0.6788 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002149/0.1811, allocations: 1.571 MB / 0.6804 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.1812, allocations: 181.1 kB / 0.6805 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003345/0.1815, allocations: 232.4 kB / 0.6808 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005637/0.1872, allocations: 4.161 MB / 0.6848 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.398e-05/0.1872, allocations: 11.94 kB / 0.6848 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002383/0.1875, allocations: 99.98 kB / 0.6849 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001686/0.1877, allocations: 164.5 kB / 0.6851 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004904/0.1926, allocations: 3.632 MB / 0.6886 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01514/0.2077, allocations: 16.43 MB / 0.7047 GB, free: 8.176 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003067/0.2108, allocations: 2.287 MB / 0.7069 GB, free: 5.684 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007813/0.2116, allocations: 0.5897 MB / 0.7075 GB, free: 5.086 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.2117, allocations: 97.64 kB / 0.7076 GB, free: 4.973 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.2118, allocations: 39.12 kB / 0.7076 GB, free: 4.926 MB / 0.545 GB Notification: Performance of pre-optimization done (n=72): time 3.977e-06/0.2118, allocations: 3.984 kB / 0.7076 GB, free: 4.922 MB / 0.545 GB Notification: Performance of matching and sorting (n=76): time 0.005046/0.2168, allocations: 3.432 MB / 0.711 GB, free: 1.383 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.217, allocations: 111.5 kB / 0.7111 GB, free: 1.246 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.2183, allocations: 1.026 MB / 0.7121 GB, free: 200 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.793e-05/0.2183, allocations: 33.7 kB / 0.7121 GB, free: 160 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006478/0.219, allocations: 1.103 MB / 0.7132 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002014/0.2192, allocations: 272.2 kB / 0.7135 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003517/0.2195, allocations: 283.2 kB / 0.7137 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.2197, allocations: 414.7 kB / 0.7141 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008239/0.2206, allocations: 0.6167 MB / 0.7147 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/0.2218, allocations: 1.182 MB / 0.7159 GB, free: 12 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002106/0.2239, allocations: 1.86 MB / 0.7177 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.224, allocations: 11.88 kB / 0.7177 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002764/0.2267, allocations: 2.019 MB / 0.7197 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.2268, allocations: 19.88 kB / 0.7197 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.419e-05/0.2268, allocations: 20 kB / 0.7197 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004076/0.2272, allocations: 163.3 kB / 0.7199 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.2283, allocations: 343.4 kB / 0.7202 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.284e-05/0.2283, allocations: 35.86 kB / 0.7202 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008211/0.2291, allocations: 131.7 kB / 0.7204 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-05/0.2292, allocations: 67.98 kB / 0.7204 GB, free: 7.047 MB / 0.5606 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.001188/0.2304, allocations: 0.9771 MB / 0.7214 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/0.2306, allocations: 110.7 kB / 0.7215 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001866/0.2325, allocations: 1.23 MB / 0.7227 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/0.2325, allocations: 11.94 kB / 0.7227 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.2325, allocations: 0 / 0.7227 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.2325, allocations: 3.984 kB / 0.7227 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004706/0.2372, allocations: 3.794 MB / 0.7264 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.2373, allocations: 8.25 kB / 0.7264 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005628/0.2378, allocations: 155.8 kB / 0.7266 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003149/0.2381, allocations: 143.3 kB / 0.7267 GB, free: 440 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.928e-05/0.2382, allocations: 12 kB / 0.7267 GB, free: 428 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.54e-05/0.2382, allocations: 11.94 kB / 0.7267 GB, free: 416 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.2382, allocations: 3.938 kB / 0.7267 GB, free: 412 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.2399, allocations: 1.469 MB / 0.7282 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003208/0.2402, allocations: 271.7 kB / 0.7284 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.2404, allocations: 20 kB / 0.7284 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005396/0.2409, allocations: 63.91 kB / 0.7285 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.2411, allocations: 60.42 kB / 0.7286 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.944e-05/0.2411, allocations: 20 kB / 0.7286 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007559/0.2419, allocations: 0.6992 MB / 0.7293 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.463e-06/0.2419, allocations: 0 / 0.7293 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001229/0.2431, allocations: 391.9 kB / 0.7296 GB, free: 13.33 MB / 0.5762 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.0002213/0.2433, allocations: 128.5 kB / 0.7298 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002044/0.2454, allocations: 1.715 MB / 0.7314 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2454, allocations: 4 kB / 0.7314 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008537/0.2463, allocations: 0.862 MB / 0.7323 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.2476, allocations: 276.8 kB / 0.7325 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005057/0.2526, allocations: 3.776 MB / 0.7362 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00156/0.2542, allocations: 1.912 MB / 0.7381 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008818/0.2551, allocations: 445.4 kB / 0.7385 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.2553, allocations: 83.42 kB / 0.7386 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of SimCode: time 4.61e-07/0.2553, allocations: 0 / 0.7386 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of Templates: time 0.02283/0.2781, allocations: 13.65 MB / 0.7519 GB, free: 6.359 MB / 0.5919 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)