Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 99.16 kB / 16.4 MB, free: 6.504 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.001553/0.001553, allocations: 196 kB / 17.34 MB, free: 5.742 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.472/1.472, 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.767/0.767, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 60.5 kB / 0.5577 GB, free: 32.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1692, allocations: 76.18 MB / 0.6321 GB, free: 4.527 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007623/0.1769, allocations: 4.877 MB / 0.6368 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004122/0.1811, allocations: 2.491 MB / 0.6393 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004969/0.1816, allocations: 23.81 kB / 0.6393 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.1829, allocations: 397.9 kB / 0.6397 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001204/0.1841, allocations: 473.6 kB / 0.6401 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009564/0.1851, allocations: 394.2 kB / 0.6405 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001352/0.1865, allocations: 0.9368 MB / 0.6414 GB, free: 10.92 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006233/0.1871, allocations: 354.4 kB / 0.6417 GB, free: 10.57 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005798/0.1877, allocations: 346.6 kB / 0.6421 GB, free: 10.23 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005893/0.1883, allocations: 350.5 kB / 0.6424 GB, free: 9.887 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.838e-05/0.1884, allocations: 40 kB / 0.6425 GB, free: 9.848 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00075/0.1892, allocations: 411 kB / 0.6428 GB, free: 9.445 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000219/0.1894, allocations: 175.4 kB / 0.643 GB, free: 9.273 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004054/0.1898, allocations: 318.3 kB / 0.6433 GB, free: 8.961 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.1909, allocations: 0.8798 MB / 0.6442 GB, free: 8.078 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1909, allocations: 0 / 0.6442 GB, free: 8.078 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1909, allocations: 0 / 0.6442 GB, free: 8.078 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.431e-05/0.191, allocations: 0 / 0.6442 GB, free: 8.078 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.00171/0.1927, allocations: 0.9618 MB / 0.6451 GB, free: 7.066 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.1927, allocations: 11.97 kB / 0.6451 GB, free: 7.055 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/0.1941, allocations: 195.9 kB / 0.6453 GB, free: 6.863 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.1951, allocations: 0.5567 MB / 0.6459 GB, free: 6.266 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.941e-05/0.1951, allocations: 33.38 kB / 0.6459 GB, free: 6.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.697e-05/0.1952, allocations: 44.36 kB / 0.6459 GB, free: 6.188 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.1964, allocations: 0.8487 MB / 0.6468 GB, free: 5.203 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.204e-05/0.1964, allocations: 3.938 kB / 0.6468 GB, free: 5.199 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.901e-05/0.1965, allocations: 27.98 kB / 0.6468 GB, free: 5.172 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001002/0.1966, allocations: 68.89 kB / 0.6469 GB, free: 5.105 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009406/0.1976, allocations: 0.5617 MB / 0.6474 GB, free: 4.543 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004539/0.2021, allocations: 5.646 MB / 0.6529 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006083/0.2027, allocations: 458.3 kB / 0.6534 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002944/0.203, allocations: 224.7 kB / 0.6536 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.2031, allocations: 7.984 kB / 0.6536 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.2031, allocations: 34.56 kB / 0.6536 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 2.074e-06/0.2031, allocations: 0 / 0.6536 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002522/0.2056, allocations: 1.516 MB / 0.6551 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.2057, allocations: 55.67 kB / 0.6551 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005087/0.2062, allocations: 0.4991 MB / 0.6556 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.2062, allocations: 33.7 kB / 0.6557 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/0.2065, allocations: 362.8 kB / 0.656 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.654e-05/0.2066, allocations: 118.3 kB / 0.6561 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.2067, allocations: 110.2 kB / 0.6562 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.2069, allocations: 362.8 kB / 0.6566 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002968/0.2072, allocations: 201.2 kB / 0.6568 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004305/0.2076, allocations: 439.3 kB / 0.6572 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008394/0.2085, allocations: 0.6952 MB / 0.6579 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.2085, allocations: 4 kB / 0.6579 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001277/0.2098, allocations: 0.8056 MB / 0.6587 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.2098, allocations: 9.406 kB / 0.6587 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.2098, allocations: 8 kB / 0.6587 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005002/0.2103, allocations: 164.6 kB / 0.6588 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004517/0.2108, allocations: 119.8 kB / 0.6589 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003401/0.2142, allocations: 4.347 MB / 0.6632 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003606/0.2146, allocations: 35.97 kB / 0.6632 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/0.2146, allocations: 27.98 kB / 0.6632 GB, free: 3.051 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002573/0.2149, allocations: 220.7 kB / 0.6635 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.06e-05/0.215, allocations: 59.25 kB / 0.6635 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.216, allocations: 0.597 MB / 0.6641 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.216, allocations: 8 kB / 0.6641 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.216, allocations: 0 / 0.6641 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.216, allocations: 3.984 kB / 0.6641 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00183/0.2179, allocations: 1.263 MB / 0.6653 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.2179, allocations: 4 kB / 0.6653 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002517/0.2181, allocations: 51.89 kB / 0.6654 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003944/0.2185, allocations: 152.4 kB / 0.6655 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.2186, allocations: 7.938 kB / 0.6655 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003362/0.2219, allocations: 4.337 MB / 0.6698 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.222, allocations: 4.031 kB / 0.6698 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000998/0.223, allocations: 0.7159 MB / 0.6705 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002127/0.2232, allocations: 172.3 kB / 0.6706 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.437e-05/0.2233, allocations: 12 kB / 0.6707 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.2236, allocations: 19.97 kB / 0.6707 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.639e-05/0.2236, allocations: 31.91 kB / 0.6707 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.2237, allocations: 12 kB / 0.6707 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000389/0.2241, allocations: 338.8 kB / 0.671 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2241, allocations: 3.938 kB / 0.671 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006514/0.2247, allocations: 140 kB / 0.6712 GB, free: 10.29 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000163/0.2249, allocations: 107.2 kB / 0.6713 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001417/0.2263, allocations: 1.04 MB / 0.6723 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.2263, allocations: 0 / 0.6723 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008172/0.2272, allocations: 0.7381 MB / 0.673 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.2282, allocations: 208.1 kB / 0.6732 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.2301, allocations: 1.036 MB / 0.6742 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005423/0.2307, allocations: 0.9098 MB / 0.6751 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000357/0.231, allocations: 121.2 kB / 0.6752 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.2311, allocations: 39.44 kB / 0.6753 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.2312, allocations: 0 / 0.6753 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of Templates: time 0.01492/0.2461, allocations: 7.707 MB / 0.6828 GB, free: 14.24 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)