Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.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.PVsource,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.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,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.PVsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008225/0.0008225, allocations: 95.14 kB / 16.3 MB, free: 5.996 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.0009283/0.0009283, allocations: 180.5 kB / 17.19 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.209/1.209, allocations: 223.2 MB / 241.1 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2533/0.2533, allocations: 38.07 MB / 330.3 MB, free: 14.23 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003185, allocations: 8 kB / 400 MB, free: 9.297 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2628, allocations: 59.16 MB / 459.1 MB, free: 30.42 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.004311/0.2672, allocations: 4.436 MB / 463.6 MB, free: 27.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.2694, allocations: 1.43 MB / 465 MB, free: 26.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002329/0.2697, allocations: 22.34 kB / 465 MB, free: 26.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003389/0.27, allocations: 96.11 kB / 465.1 MB, free: 26.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006033/0.2706, allocations: 218.8 kB / 465.3 MB, free: 26.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005108/0.2712, allocations: 162.2 kB / 465.5 MB, free: 25.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004033/0.2716, allocations: 291 kB / 465.8 MB, free: 25.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008551/0.2724, allocations: 0.5324 MB / 466.3 MB, free: 25.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003177/0.2728, allocations: 180.2 kB / 466.5 MB, free: 25.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004023/0.2732, allocations: 178 kB / 466.6 MB, free: 25.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.516e-05/0.2732, allocations: 16.5 kB / 466.7 MB, free: 25.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002343/0.2735, allocations: 74.81 kB / 466.7 MB, free: 25.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002001/0.2737, allocations: 162.2 kB / 466.9 MB, free: 25.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.2738, allocations: 105.3 kB / 467 MB, free: 25.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005412/0.2744, allocations: 391 kB / 467.4 MB, free: 25.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.2744, allocations: 0 / 467.4 MB, free: 25.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2744, allocations: 0 / 467.4 MB, free: 25.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.2744, allocations: 0 / 467.4 MB, free: 25.12 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.0009507/0.2753, allocations: 0.6272 MB / 468 MB, free: 24.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.2754, allocations: 9.719 kB / 468 MB, free: 24.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005814/0.276, allocations: 92.95 kB / 468.1 MB, free: 24.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005878/0.2766, allocations: 386.9 kB / 468.5 MB, free: 24.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.2766, allocations: 30.64 kB / 468.5 MB, free: 24.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.2767, allocations: 42.12 kB / 468.6 MB, free: 24.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007101/0.2775, allocations: 465.4 kB / 469 MB, free: 24.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.2775, allocations: 1.094 kB / 469 MB, free: 24.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.844e-05/0.2775, allocations: 16.23 kB / 469 MB, free: 24.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001082/0.2776, allocations: 28.58 kB / 469 MB, free: 24.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005415/0.2782, allocations: 331.1 kB / 469.4 MB, free: 23.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001964/0.2802, allocations: 1.705 MB / 471.1 MB, free: 22.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002513/0.2804, allocations: 146.2 kB / 471.2 MB, free: 22.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.2805, allocations: 5.375 kB / 471.2 MB, free: 22.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.2805, allocations: 40.86 kB / 471.3 MB, free: 22.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.2805, allocations: 0 / 471.3 MB, free: 22.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001285/0.2818, allocations: 0.8517 MB / 472.1 MB, free: 21.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.2818, allocations: 83.84 kB / 472.2 MB, free: 21.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003174/0.2822, allocations: 304.6 kB / 472.5 MB, free: 21.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.2822, allocations: 30.77 kB / 472.5 MB, free: 21.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.2823, allocations: 249.7 kB / 472.8 MB, free: 21.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.5e-05/0.2824, allocations: 67.09 kB / 472.8 MB, free: 21.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.211e-05/0.2824, allocations: 5.188 kB / 472.8 MB, free: 21.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.036e-05/0.2825, allocations: 339.9 kB / 473.2 MB, free: 21.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.2826, allocations: 93.8 kB / 473.3 MB, free: 21.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.2828, allocations: 189.9 kB / 473.5 MB, free: 20.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.2829, allocations: 125.6 kB / 473.6 MB, free: 20.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.283, allocations: 5.156 kB / 473.6 MB, free: 20.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000731/0.2837, allocations: 454.6 kB / 474 MB, free: 20.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.2837, allocations: 10.88 kB / 474 MB, free: 20.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005045/0.2842, allocations: 290.5 kB / 474.3 MB, free: 20.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00044/0.2847, allocations: 134.3 kB / 474.4 MB, free: 20.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.2849, allocations: 60.25 kB / 474.5 MB, free: 20.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002248/0.2872, allocations: 2.291 MB / 476.8 MB, free: 18.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.2874, allocations: 12.7 kB / 476.8 MB, free: 18.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.2874, allocations: 10.14 kB / 476.8 MB, free: 18.64 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.0002146/0.2876, allocations: 195.5 kB / 477 MB, free: 18.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.79e-05/0.2877, allocations: 30.08 kB / 477 MB, free: 18.47 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003821/0.2881, allocations: 250.2 kB / 477.3 MB, free: 18.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2881, allocations: 2.25 kB / 477.3 MB, free: 18.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.2881, allocations: 2.219 kB / 477.3 MB, free: 18.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2881, allocations: 6.078 kB / 477.3 MB, free: 18.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009988/0.2891, allocations: 0.7183 MB / 478 MB, free: 17.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.2891, allocations: 1.75 kB / 478 MB, free: 17.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/0.2893, allocations: 39.97 kB / 478.1 MB, free: 17.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.462e-05/0.2894, allocations: 37.73 kB / 478.1 MB, free: 17.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.2894, allocations: 7.578 kB / 478.1 MB, free: 17.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007806/0.2902, allocations: 1.492 MB / 479.6 MB, free: 16.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.2902, allocations: 5.438 kB / 479.6 MB, free: 16.37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004254/0.2907, allocations: 467.1 kB / 480.1 MB, free: 16.01 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.566e-05/0.2907, allocations: 101.6 kB / 480.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/0.2908, allocations: 10.84 kB / 480.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.2909, allocations: 5.031 kB / 480.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.291, allocations: 13.11 kB / 480.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.291, allocations: 4.062 kB / 480.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001811/0.2912, allocations: 220 kB / 480.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2912, allocations: 0 / 480.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004708/0.2917, allocations: 86.59 kB / 480.5 MB, free: 15.73 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): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.719e-05/0.2918, allocations: 109.2 kB / 480.6 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006067/0.2924, allocations: 390.8 kB / 481 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2924, allocations: 1.062 kB / 481 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002646/0.2927, allocations: 222.1 kB / 481.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.293, allocations: 59.05 kB / 481.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.2942, allocations: 1.067 MB / 482.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.2945, allocations: 0.863 MB / 483.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000176/0.2947, allocations: 58.08 kB / 483.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.908e-05/0.2948, allocations: 23.25 kB / 483.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2948, allocations: 0.9062 kB / 483.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of Templates: time 0.006334/0.3011, allocations: 3.604 MB / 486.9 MB, free: 11.32 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PVsource.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches