Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.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.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial") translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 94.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.0008928/0.0008929, allocations: 183.6 kB / 17.2 MB, free: 5.914 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.327/1.327, allocations: 223.2 MB / 241.1 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2991/0.2991, allocations: 38.06 MB / 330.3 MB, free: 14.23 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003063/0.0003063, allocations: 12 kB / 400 MB, free: 9.309 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2738, allocations: 59.15 MB / 459.1 MB, free: 30.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.004267/0.2781, allocations: 4.298 MB / 463.4 MB, free: 27.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002233/0.2804, allocations: 1.533 MB / 464.9 MB, free: 26.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002191/0.2806, allocations: 22.16 kB / 465 MB, free: 26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001935/0.2808, allocations: 76.8 kB / 465 MB, free: 25.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005572/0.2814, allocations: 214.7 kB / 465.3 MB, free: 25.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000598/0.282, allocations: 230.4 kB / 465.5 MB, free: 25.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003761/0.2824, allocations: 280.5 kB / 465.8 MB, free: 25.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007766/0.2831, allocations: 0.5014 MB / 466.3 MB, free: 25.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002759/0.2834, allocations: 185.3 kB / 466.4 MB, free: 25.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003447/0.2838, allocations: 192.8 kB / 466.6 MB, free: 25.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.171e-05/0.2838, allocations: 16.03 kB / 466.6 MB, free: 25.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002428/0.2841, allocations: 90.06 kB / 466.7 MB, free: 25.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000222/0.2843, allocations: 193.7 kB / 466.9 MB, free: 25.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.62e-05/0.2844, allocations: 104.5 kB / 467 MB, free: 24.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005534/0.285, allocations: 426.5 kB / 467.4 MB, free: 24.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.285, allocations: 0 / 467.4 MB, free: 24.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.285, allocations: 4 kB / 467.4 MB, free: 24.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.285, allocations: 0 / 467.4 MB, free: 24.88 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001041/0.2861, allocations: 0.6526 MB / 468.1 MB, free: 24.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.2861, allocations: 8.625 kB / 468.1 MB, free: 24.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005494/0.2867, allocations: 91.05 kB / 468.2 MB, free: 24.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005857/0.2873, allocations: 385.5 kB / 468.6 MB, free: 24.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.252e-05/0.2873, allocations: 28.28 kB / 468.6 MB, free: 24.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.2874, allocations: 54.97 kB / 468.6 MB, free: 24.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008247/0.2883, allocations: 0.6126 MB / 469.3 MB, free: 23.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.2883, allocations: 6.312 kB / 469.3 MB, free: 23.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.559e-05/0.2883, allocations: 25.58 kB / 469.3 MB, free: 23.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001108/0.2885, allocations: 28.92 kB / 469.3 MB, free: 23.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006844/0.2891, allocations: 472.9 kB / 469.8 MB, free: 23.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002999/0.2921, allocations: 2.886 MB / 472.7 MB, free: 21.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004002/0.2926, allocations: 233.6 kB / 472.9 MB, free: 21.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.2926, allocations: 5.312 kB / 472.9 MB, free: 21.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.2926, allocations: 40.41 kB / 472.9 MB, free: 21.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.362e-06/0.2926, allocations: 0.9375 kB / 472.9 MB, free: 21.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001389/0.294, allocations: 0.9453 MB / 473.9 MB, free: 20.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.2941, allocations: 85.56 kB / 474 MB, free: 20.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003459/0.2944, allocations: 319.1 kB / 474.3 MB, free: 20.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.2945, allocations: 31.23 kB / 474.3 MB, free: 20.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.2947, allocations: 277.5 kB / 474.6 MB, free: 19.94 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.74e-05/0.2948, allocations: 101.1 kB / 474.7 MB, free: 19.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.928e-05/0.2948, allocations: 13.78 kB / 474.7 MB, free: 19.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.2949, allocations: 350.4 kB / 475 MB, free: 19.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/0.2952, allocations: 140.2 kB / 475.2 MB, free: 19.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003557/0.2955, allocations: 337.7 kB / 475.5 MB, free: 19.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003465/0.2959, allocations: 218.1 kB / 475.7 MB, free: 19.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.2959, allocations: 1.375 kB / 475.7 MB, free: 19.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008389/0.2967, allocations: 0.5126 MB / 476.2 MB, free: 18.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.2968, allocations: 8.469 kB / 476.2 MB, free: 18.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.2968, allocations: 6.5 kB / 476.2 MB, free: 18.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.2968, allocations: 10.53 kB / 476.3 MB, free: 18.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004345/0.2973, allocations: 120.6 kB / 476.4 MB, free: 18.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.539e-05/0.2973, allocations: 14.75 kB / 476.4 MB, free: 18.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.2975, allocations: 27.91 kB / 476.4 MB, free: 18.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/0.2976, allocations: 27.77 kB / 476.4 MB, free: 18.85 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (58): * Single equations (assignments): 58 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002294/0.2978, allocations: 216.7 kB / 476.7 MB, free: 18.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.894e-05/0.2979, allocations: 30.91 kB / 476.7 MB, free: 18.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006402/0.2985, allocations: 359.5 kB / 477 MB, free: 18.51 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.2986, allocations: 2.656 kB / 477 MB, free: 18.51 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2986, allocations: 1.344 kB / 477 MB, free: 18.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.2986, allocations: 6.969 kB / 477 MB, free: 18.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.3001, allocations: 0.8691 MB / 477.9 MB, free: 17.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3001, allocations: 1.344 kB / 477.9 MB, free: 17.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003243/0.3004, allocations: 60.52 kB / 478 MB, free: 17.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/0.3004, allocations: 2.156 kB / 478 MB, free: 17.99 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.924e-05/0.3005, allocations: 10.36 kB / 478 MB, free: 17.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.3005, allocations: 13.86 kB / 478 MB, free: 17.97 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3005, allocations: 1.438 kB / 478 MB, free: 17.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009166/0.3014, allocations: 0.6195 MB / 478.6 MB, free: 17.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-05/0.3015, allocations: 103.5 kB / 478.7 MB, free: 17.47 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.404e-05/0.3016, allocations: 9.391 kB / 478.7 MB, free: 17.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.3018, allocations: 11.81 kB / 478.7 MB, free: 17.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.709e-05/0.3018, allocations: 25 kB / 478.8 MB, free: 17.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.3019, allocations: 11.25 kB / 478.8 MB, free: 17.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000275/0.3021, allocations: 221.4 kB / 479 MB, free: 17.33 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3021, allocations: 1.594 kB / 479 MB, free: 17.33 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005438/0.3027, allocations: 93.81 kB / 479.1 MB, free: 17.32 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001261/0.3028, allocations: 106.3 kB / 479.2 MB, free: 17.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006755/0.3035, allocations: 357.2 kB / 479.5 MB, free: 17.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3035, allocations: 0 / 479.5 MB, free: 17.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002585/0.3038, allocations: 141.4 kB / 479.7 MB, free: 17.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004237/0.3042, allocations: 61.92 kB / 479.7 MB, free: 17.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.3058, allocations: 1.222 MB / 481 MB, free: 16.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.3061, allocations: 0.8615 MB / 481.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003187/0.3064, allocations: 135.3 kB / 482 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.528e-05/0.3065, allocations: 34.17 kB / 482 MB, free: 15.34 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3065, allocations: 0 / 482 MB, free: 15.34 MB / 350.1 MB Notification: Performance of Templates: time 0.006019/0.3126, allocations: 3.023 MB / 485 MB, free: 13.42 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.ReferenceInertial.mat","../files/PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches