Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 175.6 kB / 16.71 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 225.7 MB / 243.2 MB, free: 8.445 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009662/0.0009664, allocations: 97.91 kB / 294.4 MB, free: 9.477 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.3443/0.3443, allocations: 38.11 MB / 383.6 MB, free: 40.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000307/0.0003071, allocations: 12.22 kB / 453.5 MB, free: 8.758 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3283, allocations: 59.13 MB / 0.5006 GB, free: 38.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.006022/0.3344, allocations: 4.615 MB / 0.5051 GB, free: 38.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003342/0.3378, allocations: 2.567 MB / 0.5076 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006155/0.3384, allocations: 27.12 kB / 0.5076 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003082/0.3387, allocations: 58.45 kB / 0.5077 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000902/0.3396, allocations: 244.5 kB / 0.5079 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008607/0.3405, allocations: 233.7 kB / 0.5082 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001365/0.3419, allocations: 0.8913 MB / 0.509 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009363/0.3429, allocations: 0.6446 MB / 0.5097 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005102/0.3434, allocations: 249.1 kB / 0.5099 GB, free: 35.08 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005939/0.344, allocations: 376.7 kB / 0.5102 GB, free: 34.97 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.119e-05/0.3441, allocations: 19.62 kB / 0.5103 GB, free: 34.97 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003277/0.3444, allocations: 133.2 kB / 0.5104 GB, free: 34.94 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002748/0.3447, allocations: 215.9 kB / 0.5106 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002408/0.3449, allocations: 279.7 kB / 0.5109 GB, free: 34.7 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006682/0.3456, allocations: 0.6184 MB / 0.5115 GB, free: 34.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.3456, allocations: 0 / 0.5115 GB, free: 34.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.007e-06/0.3456, allocations: 4.047 kB / 0.5115 GB, free: 34.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.3456, allocations: 4.719 kB / 0.5115 GB, free: 34.52 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001672/0.3473, allocations: 0.7898 MB / 0.5123 GB, free: 33.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.3474, allocations: 10.78 kB / 0.5123 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004949/0.3479, allocations: 94.11 kB / 0.5124 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000793/0.3487, allocations: 485 kB / 0.5128 GB, free: 33.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/0.3487, allocations: 31.66 kB / 0.5128 GB, free: 33.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.3488, allocations: 50.78 kB / 0.5129 GB, free: 33.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007488/0.3496, allocations: 0.6834 MB / 0.5136 GB, free: 33.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.3496, allocations: 6.906 kB / 0.5136 GB, free: 33.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.29e-05/0.3497, allocations: 21.73 kB / 0.5136 GB, free: 33.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-05/0.3498, allocations: 35.53 kB / 0.5136 GB, free: 33.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006552/0.3504, allocations: 0.5243 MB / 0.5141 GB, free: 33.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002897/0.3533, allocations: 3.113 MB / 0.5172 GB, free: 30.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004902/0.3538, allocations: 325.6 kB / 0.5175 GB, free: 30.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.3541, allocations: 168.7 kB / 0.5176 GB, free: 30.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.539e-05/0.3541, allocations: 7.188 kB / 0.5177 GB, free: 30.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.3541, allocations: 36.59 kB / 0.5177 GB, free: 30.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 2.154e-06/0.3541, allocations: 0 / 0.5177 GB, free: 30.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.001732/0.3559, allocations: 1.223 MB / 0.5189 GB, free: 29.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.3559, allocations: 85.08 kB / 0.519 GB, free: 29.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003241/0.3562, allocations: 389.5 kB / 0.5193 GB, free: 29.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.3563, allocations: 29.7 kB / 0.5194 GB, free: 29.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.3564, allocations: 301.4 kB / 0.5196 GB, free: 29.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.3565, allocations: 118 kB / 0.5198 GB, free: 29.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/0.3566, allocations: 14.78 kB / 0.5198 GB, free: 29.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.869e-05/0.3566, allocations: 355.7 kB / 0.5201 GB, free: 28.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002431/0.3569, allocations: 189.9 kB / 0.5203 GB, free: 28.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002883/0.3572, allocations: 381.6 kB / 0.5207 GB, free: 28.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005688/0.3578, allocations: 0.5997 MB / 0.5212 GB, free: 28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3578, allocations: 5.688 kB / 0.5212 GB, free: 28 MB / 378.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00158/0.3594, allocations: 0.8164 MB / 0.522 GB, free: 27.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.3594, allocations: 16.34 kB / 0.5221 GB, free: 27.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.3594, allocations: 5.75 kB / 0.5221 GB, free: 27.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/0.3606, allocations: 272.8 kB / 0.5223 GB, free: 27.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005527/0.3611, allocations: 134.7 kB / 0.5225 GB, free: 27.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003594/0.3647, allocations: 3.757 MB / 0.5261 GB, free: 24.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003923/0.3651, allocations: 33.05 kB / 0.5262 GB, free: 24.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.102e-05/0.3652, allocations: 27.69 kB / 0.5262 GB, free: 24.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002791/0.3655, allocations: 219.6 kB / 0.5264 GB, free: 24.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.643e-05/0.3655, allocations: 40.69 kB / 0.5264 GB, free: 24.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006641/0.3662, allocations: 484.8 kB / 0.5269 GB, free: 24.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3662, allocations: 6.562 kB / 0.5269 GB, free: 24.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.3662, allocations: 0 / 0.5269 GB, free: 24.22 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.3662, allocations: 3.328 kB / 0.5269 GB, free: 24.22 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.3674, allocations: 1.01 MB / 0.5279 GB, free: 23.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3674, allocations: 3.031 kB / 0.5279 GB, free: 23.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004095/0.3679, allocations: 89.42 kB / 0.528 GB, free: 23.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.3679, allocations: 6.859 kB / 0.528 GB, free: 23.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.3679, allocations: 10.19 kB / 0.528 GB, free: 23.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3679, allocations: 3.156 kB / 0.528 GB, free: 23.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3679, allocations: 3.219 kB / 0.528 GB, free: 23.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007558/0.3687, allocations: 0.746 MB / 0.5287 GB, free: 23.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.325e-05/0.3687, allocations: 117.2 kB / 0.5288 GB, free: 23.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.459e-05/0.3688, allocations: 17.23 kB / 0.5289 GB, free: 23.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/0.369, allocations: 13.06 kB / 0.5289 GB, free: 23.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.528e-05/0.3691, allocations: 30.33 kB / 0.5289 GB, free: 23.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.3692, allocations: 6.438 kB / 0.5289 GB, free: 23.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000244/0.3694, allocations: 268.1 kB / 0.5292 GB, free: 23 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3694, allocations: 0 / 0.5292 GB, free: 23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005326/0.3699, allocations: 127.9 kB / 0.5293 GB, free: 22.98 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001176/0.3701, allocations: 107.9 kB / 0.5294 GB, free: 22.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001228/0.3713, allocations: 0.7949 MB / 0.5302 GB, free: 22.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3713, allocations: 0 / 0.5302 GB, free: 22.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002361/0.3716, allocations: 204.6 kB / 0.5304 GB, free: 22.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005282/0.3721, allocations: 85.89 kB / 0.5304 GB, free: 22.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/0.3749, allocations: 1.77 MB / 0.5322 GB, free: 21.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.3752, allocations: 0.896 MB / 0.533 GB, free: 20.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003483/0.3756, allocations: 128 kB / 0.5332 GB, free: 20.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.3757, allocations: 33.97 kB / 0.5332 GB, free: 20.68 MB / 378.7 MB Notification: Performance of SimCode: time 7.01e-07/0.3757, allocations: 0 / 0.5332 GB, free: 20.68 MB / 378.7 MB Notification: Performance of Templates: time 0.008857/0.3846, allocations: 5.786 MB / 0.5388 GB, free: 20.29 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1)