Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.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(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007714/0.0007715, allocations: 87.08 kB / 16.31 MB, free: 6.449 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.0007744/0.0007745, allocations: 183.2 kB / 17.21 MB, free: 6.316 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.253/1.253, allocations: 223.3 MB / 241.2 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2619/0.2619, allocations: 38.07 MB / 330.4 MB, free: 14.19 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002758/0.0002758, allocations: 15.94 kB / 400.1 MB, free: 9.262 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2473, allocations: 59.15 MB / 459.2 MB, free: 30.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.003954/0.2513, allocations: 4.586 MB / 463.8 MB, free: 26.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.2529, allocations: 1.418 MB / 465.2 MB, free: 25.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001784/0.2531, allocations: 22.06 kB / 465.3 MB, free: 25.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.2534, allocations: 99.88 kB / 465.4 MB, free: 25.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004715/0.2539, allocations: 270.7 kB / 465.6 MB, free: 25.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003712/0.2542, allocations: 167.1 kB / 465.8 MB, free: 25.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006026/0.2549, allocations: 0.6714 MB / 466.5 MB, free: 25.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007047/0.2556, allocations: 0.5192 MB / 467 MB, free: 25.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002621/0.2558, allocations: 211 kB / 467.2 MB, free: 25.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004093/0.2563, allocations: 273.4 kB / 467.4 MB, free: 24.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.526e-05/0.2563, allocations: 15.28 kB / 467.5 MB, free: 24.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001849/0.2565, allocations: 86.27 kB / 467.5 MB, free: 24.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001823/0.2567, allocations: 180 kB / 467.7 MB, free: 24.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.026e-05/0.2568, allocations: 108.4 kB / 467.8 MB, free: 24.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004002/0.2572, allocations: 385.7 kB / 468.2 MB, free: 24.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2572, allocations: 0 / 468.2 MB, free: 24.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2572, allocations: 0 / 468.2 MB, free: 24.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.2572, allocations: 1.031 kB / 468.2 MB, free: 24.72 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0007987/0.258, allocations: 0.6346 MB / 468.8 MB, free: 24.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.867e-05/0.2581, allocations: 13.34 kB / 468.9 MB, free: 24.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004942/0.2586, allocations: 82.05 kB / 468.9 MB, free: 24.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000487/0.2591, allocations: 388.3 kB / 469.3 MB, free: 23.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.2591, allocations: 26.36 kB / 469.3 MB, free: 23.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.2592, allocations: 47.03 kB / 469.4 MB, free: 23.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006285/0.2598, allocations: 483.4 kB / 469.9 MB, free: 23.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.2599, allocations: 1.062 kB / 469.9 MB, free: 23.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.144e-05/0.2599, allocations: 12.38 kB / 469.9 MB, free: 23.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.284e-05/0.26, allocations: 32.83 kB / 469.9 MB, free: 23.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004969/0.2605, allocations: 346.6 kB / 470.2 MB, free: 23.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001749/0.2623, allocations: 1.736 MB / 472 MB, free: 22.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.2625, allocations: 151 kB / 472.1 MB, free: 22.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.2626, allocations: 115.1 kB / 472.2 MB, free: 22.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.2627, allocations: 1.094 kB / 472.2 MB, free: 22.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.391e-05/0.2627, allocations: 33.09 kB / 472.3 MB, free: 22.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.293e-06/0.2627, allocations: 0 / 472.3 MB, free: 22.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001185/0.2639, allocations: 0.8895 MB / 473.2 MB, free: 21.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.2639, allocations: 84.08 kB / 473.2 MB, free: 21.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.2642, allocations: 308.1 kB / 473.5 MB, free: 21.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.2642, allocations: 27.08 kB / 473.6 MB, free: 21.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.2644, allocations: 252.5 kB / 473.8 MB, free: 20.94 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.148e-05/0.2644, allocations: 63.67 kB / 473.9 MB, free: 20.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.276e-05/0.2644, allocations: 8 kB / 473.9 MB, free: 20.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.901e-05/0.2645, allocations: 344 kB / 474.2 MB, free: 20.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.2646, allocations: 102.1 kB / 474.3 MB, free: 20.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.2648, allocations: 196.1 kB / 474.5 MB, free: 20.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.265, allocations: 138.8 kB / 474.6 MB, free: 20.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.265, allocations: 1.094 kB / 474.6 MB, free: 20.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007641/0.2658, allocations: 483.3 kB / 475.1 MB, free: 20.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.2658, allocations: 5.844 kB / 475.1 MB, free: 20.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005273/0.2663, allocations: 308.8 kB / 475.4 MB, free: 19.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004197/0.2668, allocations: 136.4 kB / 475.6 MB, free: 19.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.267, allocations: 58.34 kB / 475.6 MB, free: 19.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/0.269, allocations: 2.194 MB / 477.8 MB, free: 18.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.2692, allocations: 16.03 kB / 477.8 MB, free: 18.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.2692, allocations: 15.97 kB / 477.8 MB, free: 18.26 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001554/0.2693, allocations: 192.2 kB / 478 MB, free: 18.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.2694, allocations: 29.2 kB / 478.1 MB, free: 18.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003752/0.2698, allocations: 265 kB / 478.3 MB, free: 17.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.2698, allocations: 2.531 kB / 478.3 MB, free: 17.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.2698, allocations: 1.25 kB / 478.3 MB, free: 17.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.2698, allocations: 1.281 kB / 478.3 MB, free: 17.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009082/0.2707, allocations: 0.744 MB / 479.1 MB, free: 17.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2707, allocations: 1.031 kB / 479.1 MB, free: 17.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/0.2709, allocations: 42.19 kB / 479.1 MB, free: 17.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.395e-05/0.271, allocations: 38.05 kB / 479.1 MB, free: 17.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.271, allocations: 2 kB / 479.1 MB, free: 17.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.2711, allocations: 2.438 kB / 479.1 MB, free: 17.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2711, allocations: 9.297 kB / 479.2 MB, free: 17.31 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004295/0.2715, allocations: 439.5 kB / 479.6 MB, free: 17 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.05e-05/0.2716, allocations: 109.2 kB / 479.7 MB, free: 16.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/0.2716, allocations: 11.3 kB / 479.7 MB, free: 16.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.2717, allocations: 8.531 kB / 479.7 MB, free: 16.87 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/0.2718, allocations: 18.62 kB / 479.7 MB, free: 16.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.2718, allocations: 3.844 kB / 479.7 MB, free: 16.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000166/0.272, allocations: 213.8 kB / 479.9 MB, free: 16.72 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.272, allocations: 0 / 479.9 MB, free: 16.72 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004104/0.2724, allocations: 89.16 kB / 480 MB, free: 16.71 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.872e-05/0.2725, allocations: 109.5 kB / 480.1 MB, free: 16.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000553/0.273, allocations: 399.6 kB / 480.5 MB, free: 16.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2731, allocations: 0.875 kB / 480.5 MB, free: 16.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.2732, allocations: 192.8 kB / 480.7 MB, free: 16.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/0.2737, allocations: 60.72 kB / 480.8 MB, free: 16.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.2748, allocations: 1.075 MB / 481.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.275, allocations: 0.8421 MB / 482.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001719/0.2752, allocations: 64.69 kB / 482.8 MB, free: 14.56 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.348e-05/0.2753, allocations: 23.38 kB / 482.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2753, allocations: 7.875 kB / 482.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of Templates: time 0.005776/0.2811, allocations: 3.481 MB / 486.3 MB, free: 12.08 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PQsource.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches