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.0009907/0.0009908, allocations: 96.2 kB / 16.3 MB, free: 5.992 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.00083/0.0008301, allocations: 182 kB / 17.2 MB, free: 5.906 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.207/1.207, allocations: 223.2 MB / 241.1 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2626/0.2626, allocations: 38.06 MB / 330.3 MB, free: 14.18 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002642/0.0002642, allocations: 8 kB / 400 MB, free: 9.266 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2466, allocations: 59.16 MB / 459.1 MB, free: 30.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.003748/0.2504, allocations: 4.423 MB / 463.5 MB, free: 27.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00166/0.2521, allocations: 1.42 MB / 465 MB, free: 26.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000188/0.2523, allocations: 23.28 kB / 465 MB, free: 26.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.2525, allocations: 97.72 kB / 465.1 MB, free: 26.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004127/0.2529, allocations: 216.7 kB / 465.3 MB, free: 26.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003554/0.2533, allocations: 159 kB / 465.4 MB, free: 25.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003044/0.2536, allocations: 293.6 kB / 465.7 MB, free: 25.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007078/0.2543, allocations: 0.5196 MB / 466.3 MB, free: 25.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002465/0.2546, allocations: 180.1 kB / 466.4 MB, free: 25.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003229/0.2549, allocations: 181.1 kB / 466.6 MB, free: 25.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.623e-05/0.255, allocations: 20.81 kB / 466.6 MB, free: 25.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.2552, allocations: 77.97 kB / 466.7 MB, free: 25.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.2553, allocations: 157.5 kB / 466.9 MB, free: 25.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.824e-05/0.2554, allocations: 104.8 kB / 467 MB, free: 25.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004575/0.2559, allocations: 388.1 kB / 467.3 MB, free: 25.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.2559, allocations: 4.906 kB / 467.3 MB, free: 25.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2559, allocations: 0 / 467.3 MB, free: 25.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.2559, allocations: 0 / 467.3 MB, free: 25.09 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.0008967/0.2568, allocations: 0.631 MB / 468 MB, free: 24.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.2569, allocations: 10.36 kB / 468 MB, free: 24.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005883/0.2575, allocations: 88.3 kB / 468.1 MB, free: 24.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006804/0.2581, allocations: 392.5 kB / 468.5 MB, free: 24.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.401e-05/0.2582, allocations: 25.58 kB / 468.5 MB, free: 24.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.2583, allocations: 43.12 kB / 468.5 MB, free: 24.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006795/0.259, allocations: 478.7 kB / 469 MB, free: 23.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.259, allocations: 1.188 kB / 469 MB, free: 23.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/0.2591, allocations: 12.22 kB / 469 MB, free: 23.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001002/0.2592, allocations: 27.22 kB / 469 MB, free: 23.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005045/0.2597, allocations: 343.1 kB / 469.4 MB, free: 23.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002024/0.2617, allocations: 1.732 MB / 471.1 MB, free: 22.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.262, allocations: 154.1 kB / 471.2 MB, free: 22.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.262, allocations: 3.016 kB / 471.3 MB, free: 22.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.2621, allocations: 32.48 kB / 471.3 MB, free: 22.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.2621, allocations: 0 / 471.3 MB, free: 22.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001273/0.2633, allocations: 0.8863 MB / 472.2 MB, free: 21.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.2634, allocations: 79.39 kB / 472.2 MB, free: 21.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.2637, allocations: 313 kB / 472.6 MB, free: 21.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.2637, allocations: 29.7 kB / 472.6 MB, free: 21.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.2638, allocations: 254 kB / 472.8 MB, free: 21.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.259e-05/0.2639, allocations: 61.89 kB / 472.9 MB, free: 21.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.251e-05/0.2639, allocations: 5.188 kB / 472.9 MB, free: 21.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.879e-05/0.264, allocations: 339.5 kB / 473.2 MB, free: 21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.2641, allocations: 98.14 kB / 473.3 MB, free: 20.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.2643, allocations: 207.5 kB / 473.5 MB, free: 20.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.2645, allocations: 138.3 kB / 473.7 MB, free: 20.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.2645, allocations: 1.25 kB / 473.7 MB, free: 20.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007447/0.2652, allocations: 483.2 kB / 474.1 MB, free: 20.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.2653, allocations: 6.875 kB / 474.1 MB, free: 20.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005237/0.2658, allocations: 309.4 kB / 474.4 MB, free: 20.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004448/0.2662, allocations: 137.6 kB / 474.6 MB, free: 20.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.2664, allocations: 56.88 kB / 474.6 MB, free: 20.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002221/0.2687, allocations: 2.35 MB / 477 MB, free: 18.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.2688, allocations: 17.88 kB / 477 MB, free: 18.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.2689, allocations: 14.16 kB / 477 MB, free: 18.54 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.0001749/0.2691, allocations: 190.5 kB / 477.2 MB, free: 18.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.793e-05/0.2691, allocations: 30.45 kB / 477.2 MB, free: 18.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000398/0.2695, allocations: 262.6 kB / 477.5 MB, free: 18.24 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2695, allocations: 2.031 kB / 477.5 MB, free: 18.24 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.2695, allocations: 1.969 kB / 477.5 MB, free: 18.24 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2695, allocations: 4.75 kB / 477.5 MB, free: 18.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.2706, allocations: 0.7425 MB / 478.2 MB, free: 17.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2706, allocations: 1.281 kB / 478.2 MB, free: 17.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.2708, allocations: 40.05 kB / 478.3 MB, free: 17.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-05/0.2709, allocations: 37.91 kB / 478.3 MB, free: 17.74 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.271, allocations: 10.45 kB / 478.3 MB, free: 17.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.271, allocations: 7.75 kB / 478.3 MB, free: 17.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.271, allocations: 0 / 478.3 MB, free: 17.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004893/0.2715, allocations: 490 kB / 478.8 MB, free: 17.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.991e-05/0.2715, allocations: 102.7 kB / 478.9 MB, free: 17.28 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.2716, allocations: 8.203 kB / 478.9 MB, free: 17.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.2717, allocations: 6.938 kB / 478.9 MB, free: 17.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.2718, allocations: 9.812 kB / 478.9 MB, free: 17.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.2718, allocations: 9.078 kB / 478.9 MB, free: 17.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000183/0.272, allocations: 216.3 kB / 479.2 MB, free: 17.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.272, allocations: 4 kB / 479.2 MB, free: 17.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004272/0.2724, allocations: 86.97 kB / 479.2 MB, free: 17.13 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 9.499e-05/0.2725, allocations: 111.3 kB / 479.4 MB, free: 17.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005467/0.2731, allocations: 398 kB / 479.7 MB, free: 16.78 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.2731, allocations: 1.031 kB / 479.7 MB, free: 16.78 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.2733, allocations: 184.2 kB / 479.9 MB, free: 16.63 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.2736, allocations: 54.28 kB / 480 MB, free: 16.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.2748, allocations: 1.081 MB / 481.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.2751, allocations: 0.8469 MB / 481.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001814/0.2752, allocations: 69 kB / 482 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.71e-05/0.2753, allocations: 23.81 kB / 482 MB, free: 14.97 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2753, allocations: 3.938 kB / 482 MB, free: 14.97 MB / 350.1 MB Notification: Performance of Templates: time 0.005905/0.2812, allocations: 3.491 MB / 485.5 MB, free: 12.83 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