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.001015/0.001015, allocations: 107.6 kB / 16.52 MB, free: 6.703 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.001063/0.001063, allocations: 199.1 kB / 17.44 MB, free: 6.066 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.273/1.273, allocations: 222.9 MB / 241.1 MB, free: 15.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6925/0.6925, allocations: 115.3 MB / 406.6 MB, free: 6.426 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 59.91 kB / 493.6 MB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3187, allocations: 76.17 MB / 0.5564 GB, free: 36.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.00559/0.3244, allocations: 4.903 MB / 0.5612 GB, free: 33.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003743/0.3281, allocations: 2.496 MB / 0.5636 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004321/0.3286, allocations: 24.16 kB / 0.5636 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.3297, allocations: 357.6 kB / 0.564 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001102/0.3308, allocations: 423.1 kB / 0.5644 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009827/0.3318, allocations: 361.9 kB / 0.5647 GB, free: 30.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001337/0.3331, allocations: 1.136 MB / 0.5658 GB, free: 30.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000671/0.3338, allocations: 347.9 kB / 0.5662 GB, free: 30.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004752/0.3343, allocations: 305.7 kB / 0.5665 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000447/0.3348, allocations: 357 kB / 0.5668 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.184e-05/0.3348, allocations: 27.28 kB / 0.5668 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009774/0.3358, allocations: 0.4918 MB / 0.5673 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002235/0.3361, allocations: 164.1 kB / 0.5675 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002843/0.3363, allocations: 312.4 kB / 0.5678 GB, free: 29.63 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008366/0.3372, allocations: 0.6613 MB / 0.5684 GB, free: 29.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3372, allocations: 7.938 kB / 0.5684 GB, free: 29.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.3372, allocations: 0.5312 kB / 0.5684 GB, free: 29.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.3372, allocations: 0 / 0.5684 GB, free: 29.44 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001358/0.3386, allocations: 0.9365 MB / 0.5693 GB, free: 28.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.3386, allocations: 14.31 kB / 0.5693 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/0.3399, allocations: 206.9 kB / 0.5695 GB, free: 28.69 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006945/0.3406, allocations: 0.4959 MB / 0.57 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.199e-05/0.3406, allocations: 36.11 kB / 0.5701 GB, free: 28.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.847e-05/0.3407, allocations: 41.66 kB / 0.5701 GB, free: 28.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.3418, allocations: 0.8482 MB / 0.5709 GB, free: 27.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.3418, allocations: 7.875 kB / 0.5709 GB, free: 27.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.955e-05/0.3419, allocations: 29.09 kB / 0.571 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001029/0.342, allocations: 69.98 kB / 0.571 GB, free: 27.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000838/0.3428, allocations: 0.5666 MB / 0.5716 GB, free: 27.49 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0034/0.3462, allocations: 5.667 MB / 0.5771 GB, free: 22.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005855/0.3468, allocations: 447.1 kB / 0.5775 GB, free: 22.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002854/0.3471, allocations: 232 kB / 0.5778 GB, free: 22.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.3472, allocations: 4.125 kB / 0.5778 GB, free: 22.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.3472, allocations: 36.64 kB / 0.5778 GB, free: 22.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 2.094e-06/0.3472, allocations: 0 / 0.5778 GB, free: 22.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.002395/0.3496, allocations: 1.506 MB / 0.5793 GB, free: 21.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.3496, allocations: 57.11 kB / 0.5793 GB, free: 21.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005041/0.3501, allocations: 0.5011 MB / 0.5798 GB, free: 20.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.3502, allocations: 29.7 kB / 0.5798 GB, free: 20.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.3503, allocations: 362 kB / 0.5802 GB, free: 20.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.512e-05/0.3504, allocations: 120.9 kB / 0.5803 GB, free: 20.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.3506, allocations: 111.8 kB / 0.5804 GB, free: 20.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.27e-05/0.3507, allocations: 365.7 kB / 0.5808 GB, free: 20.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/0.3509, allocations: 196.5 kB / 0.5809 GB, free: 19.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003667/0.3513, allocations: 449.8 kB / 0.5814 GB, free: 19.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006706/0.352, allocations: 0.6924 MB / 0.5821 GB, free: 19.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.352, allocations: 2.406 kB / 0.5821 GB, free: 19.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001166/0.3532, allocations: 0.8048 MB / 0.5828 GB, free: 18.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.3532, allocations: 13.5 kB / 0.5829 GB, free: 18.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.3532, allocations: 14.05 kB / 0.5829 GB, free: 18.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004589/0.3537, allocations: 159.1 kB / 0.583 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004303/0.3541, allocations: 121.3 kB / 0.5831 GB, free: 18.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002231/0.3564, allocations: 4.033 MB / 0.5871 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004021/0.3568, allocations: 32.22 kB / 0.5871 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.985e-05/0.3568, allocations: 32.38 kB / 0.5871 GB, free: 14.62 MB / 446.1 MB 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.0002447/0.3571, allocations: 215.2 kB / 0.5873 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.398e-05/0.3572, allocations: 63.38 kB / 0.5874 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.3582, allocations: 0.6056 MB / 0.588 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.3582, allocations: 3.578 kB / 0.588 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.3582, allocations: 5.125 kB / 0.588 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.3582, allocations: 7.016 kB / 0.588 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.36, allocations: 1.26 MB / 0.5892 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.36, allocations: 1.094 kB / 0.5892 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.3602, allocations: 55.77 kB / 0.5893 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003936/0.3606, allocations: 142.6 kB / 0.5894 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/0.3607, allocations: 8.625 kB / 0.5894 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002111/0.3628, allocations: 4.022 MB / 0.5934 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.3628, allocations: 10.03 kB / 0.5934 GB, free: 9.363 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.3638, allocations: 0.7093 MB / 0.5941 GB, free: 8.945 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002093/0.364, allocations: 161.8 kB / 0.5942 GB, free: 8.812 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.79e-05/0.3641, allocations: 20.25 kB / 0.5942 GB, free: 8.797 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002406/0.3644, allocations: 22.73 kB / 0.5943 GB, free: 8.793 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.41e-05/0.3644, allocations: 30.5 kB / 0.5943 GB, free: 8.785 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.3645, allocations: 13.8 kB / 0.5943 GB, free: 8.781 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003786/0.3649, allocations: 337.6 kB / 0.5946 GB, free: 8.629 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3649, allocations: 1 kB / 0.5946 GB, free: 8.629 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007123/0.3656, allocations: 138.9 kB / 0.5948 GB, free: 8.617 MB / 446.1 MB 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.0001292/0.3657, allocations: 116.2 kB / 0.5949 GB, free: 8.512 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.3669, allocations: 1.032 MB / 0.5959 GB, free: 7.758 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3669, allocations: 0 / 0.5959 GB, free: 7.758 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006243/0.3675, allocations: 0.7374 MB / 0.5966 GB, free: 7.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009036/0.3684, allocations: 191.3 kB / 0.5968 GB, free: 6.996 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.3699, allocations: 1.317 MB / 0.5981 GB, free: 6.043 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.3702, allocations: 0.9103 MB / 0.599 GB, free: 5.242 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.3703, allocations: 42.06 kB / 0.599 GB, free: 5.234 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3703, allocations: 1.344 kB / 0.599 GB, free: 5.234 MB / 446.1 MB Notification: Performance of Templates: time 0.01939/0.3897, allocations: 18.3 MB / 0.6169 GB, free: 4.664 MB / 462.1 MB 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)