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.001336/0.001336, allocations: 99.92 kB / 16.26 MB, free: 6.414 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.001475/0.001475, allocations: 184.4 kB / 17.2 MB, free: 5.953 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.372/1.372, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7829/0.7829, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001309, allocations: 59.91 kB / 0.4911 GB, free: 7.426 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3722, allocations: 77.92 MB / 0.5672 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006036/0.3783, allocations: 4.872 MB / 0.572 GB, free: 29.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00691/0.3853, allocations: 2.486 MB / 0.5744 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001397/0.3867, allocations: 25.88 kB / 0.5744 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001664/0.3885, allocations: 405.7 kB / 0.5748 GB, free: 27.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002921/0.3914, allocations: 446.2 kB / 0.5752 GB, free: 27.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002039/0.3935, allocations: 402.3 kB / 0.5756 GB, free: 26.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002323/0.3958, allocations: 0.9178 MB / 0.5765 GB, free: 26.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009121/0.3968, allocations: 361.8 kB / 0.5769 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008445/0.3976, allocations: 338.7 kB / 0.5772 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008609/0.3985, allocations: 356 kB / 0.5775 GB, free: 26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.3986, allocations: 37.72 kB / 0.5776 GB, free: 26 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001815/0.4005, allocations: 398.7 kB / 0.5779 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004372/0.4009, allocations: 185.5 kB / 0.5781 GB, free: 25.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005678/0.4015, allocations: 317.6 kB / 0.5784 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002035/0.4036, allocations: 0.8807 MB / 0.5793 GB, free: 25.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.4036, allocations: 0 / 0.5793 GB, free: 25.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.4036, allocations: 0 / 0.5793 GB, free: 25.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.4037, allocations: 0.9375 kB / 0.5793 GB, free: 25.28 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.002064/0.4057, allocations: 0.9481 MB / 0.5802 GB, free: 24.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.616e-05/0.4058, allocations: 10.22 kB / 0.5802 GB, free: 24.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002498/0.4083, allocations: 205.8 kB / 0.5804 GB, free: 24.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009746/0.4093, allocations: 0.4918 MB / 0.5809 GB, free: 24.08 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.404e-05/0.4094, allocations: 35.42 kB / 0.5809 GB, free: 24.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.4095, allocations: 44.61 kB / 0.581 GB, free: 24.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/0.4111, allocations: 0.8485 MB / 0.5818 GB, free: 23.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.463e-05/0.4112, allocations: 11.16 kB / 0.5818 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.218e-05/0.4113, allocations: 20.41 kB / 0.5818 GB, free: 23.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001566/0.4115, allocations: 70.34 kB / 0.5819 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.4129, allocations: 0.5694 MB / 0.5824 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00574/0.4187, allocations: 5.659 MB / 0.588 GB, free: 17.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009947/0.4197, allocations: 454 kB / 0.5884 GB, free: 17.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004923/0.4203, allocations: 231.5 kB / 0.5886 GB, free: 17.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.675e-05/0.4203, allocations: 4.312 kB / 0.5886 GB, free: 17.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.4204, allocations: 32.81 kB / 0.5887 GB, free: 17.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 4.769e-06/0.4204, allocations: 0 / 0.5887 GB, free: 17.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.0043/0.4247, allocations: 1.506 MB / 0.5901 GB, free: 16.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.4248, allocations: 56.09 kB / 0.5902 GB, free: 16.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.4259, allocations: 0.5069 MB / 0.5907 GB, free: 15.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/0.4259, allocations: 30.92 kB / 0.5907 GB, free: 15.72 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003064/0.4263, allocations: 359.5 kB / 0.5911 GB, free: 15.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.4264, allocations: 118 kB / 0.5912 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002486/0.4267, allocations: 111.4 kB / 0.5913 GB, free: 15.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.4268, allocations: 367.8 kB / 0.5916 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000506/0.4273, allocations: 194 kB / 0.5918 GB, free: 14.78 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006894/0.428, allocations: 454.8 kB / 0.5922 GB, free: 14.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.4293, allocations: 0.6937 MB / 0.5929 GB, free: 13.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.898e-06/0.4293, allocations: 1.5 kB / 0.5929 GB, free: 13.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002315/0.4316, allocations: 0.8046 MB / 0.5937 GB, free: 13.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.898e-05/0.4317, allocations: 9.188 kB / 0.5937 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-05/0.4317, allocations: 8.5 kB / 0.5937 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008647/0.4326, allocations: 157 kB / 0.5939 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008047/0.4334, allocations: 130.5 kB / 0.594 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003854/0.4373, allocations: 4.341 MB / 0.5982 GB, free: 8.773 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007664/0.4381, allocations: 33.47 kB / 0.5983 GB, free: 8.758 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-05/0.4382, allocations: 30.59 kB / 0.5983 GB, free: 8.75 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.0004442/0.4386, allocations: 222.1 kB / 0.5985 GB, free: 8.562 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/0.4389, allocations: 65.61 kB / 0.5986 GB, free: 8.527 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/0.4405, allocations: 0.5998 MB / 0.5992 GB, free: 8.152 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.4405, allocations: 3.25 kB / 0.5992 GB, free: 8.152 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.4405, allocations: 5.188 kB / 0.5992 GB, free: 8.148 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.4406, allocations: 9.016 kB / 0.5992 GB, free: 8.141 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002839/0.4434, allocations: 1.255 MB / 0.6004 GB, free: 7.227 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.4434, allocations: 0.9688 kB / 0.6004 GB, free: 7.227 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004374/0.4439, allocations: 57.42 kB / 0.6005 GB, free: 7.188 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006922/0.4446, allocations: 148.3 kB / 0.6006 GB, free: 7.027 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.924e-05/0.4446, allocations: 11.94 kB / 0.6006 GB, free: 7.016 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003458/0.4481, allocations: 4.336 MB / 0.6048 GB, free: 2.254 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.4481, allocations: 0 / 0.6048 GB, free: 2.254 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.4497, allocations: 0.7115 MB / 0.6055 GB, free: 1.488 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003878/0.4501, allocations: 164.3 kB / 0.6057 GB, free: 1.309 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.4503, allocations: 11.98 kB / 0.6057 GB, free: 1.297 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005471/0.4508, allocations: 23.97 kB / 0.6057 GB, free: 1.273 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.451, allocations: 27.91 kB / 0.6058 GB, free: 1.246 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.619e-05/0.451, allocations: 12 kB / 0.6058 GB, free: 1.234 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005837/0.4516, allocations: 338.8 kB / 0.6061 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.4516, allocations: 4 kB / 0.6061 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001171/0.4528, allocations: 144 kB / 0.6062 GB, free: 0.7617 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.0001663/0.453, allocations: 115.2 kB / 0.6063 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002237/0.4552, allocations: 1.08 MB / 0.6074 GB, free: 15.47 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.4553, allocations: 0 / 0.6074 GB, free: 15.47 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001431/0.4567, allocations: 0.7277 MB / 0.6081 GB, free: 14.66 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001942/0.4587, allocations: 206.6 kB / 0.6083 GB, free: 14.47 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00335/0.462, allocations: 1.062 MB / 0.6093 GB, free: 13.36 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000804/0.4629, allocations: 0.9136 MB / 0.6102 GB, free: 12.41 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00069/0.4636, allocations: 117.3 kB / 0.6103 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.4638, allocations: 39.44 kB / 0.6104 GB, free: 12.26 MB / 462.1 MB Notification: Performance of SimCode: time 3.767e-06/0.4638, allocations: 4 kB / 0.6104 GB, free: 12.25 MB / 462.1 MB Notification: Performance of Templates: time 0.02868/0.4925, allocations: 7.61 MB / 0.6178 GB, free: 4.758 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)