Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,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.InitialSteadyState") translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,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.InitialSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001716/0.001716, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 205.1 MB / 223.1 MB, free: 8.461 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 105.6 kB / 270.5 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1909/0.1909, allocations: 38.02 MB / 355.9 MB, free: 2.922 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 47.92 kB / 421.9 MB, free: 37.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.3879, allocations: 55.24 MB / 477.1 MB, free: 9.91 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.005945/0.3938, allocations: 5.073 MB / 482.2 MB, free: 6.316 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002598/0.3965, allocations: 1.675 MB / 483.8 MB, free: 5.145 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000242/0.3967, allocations: 27.72 kB / 483.9 MB, free: 5.133 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009844/0.3977, allocations: 353.8 kB / 484.2 MB, free: 4.922 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005429/0.3983, allocations: 235.6 kB / 484.4 MB, free: 4.793 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006777/0.399, allocations: 214.3 kB / 484.7 MB, free: 4.699 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009733/0.4, allocations: 0.872 MB / 485.5 MB, free: 4.426 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004943/0.4005, allocations: 270.3 kB / 485.8 MB, free: 4.332 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003218/0.4008, allocations: 221.6 kB / 486 MB, free: 4.242 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005491/0.4013, allocations: 373.5 kB / 486.4 MB, free: 4.129 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.918e-05/0.4014, allocations: 25.94 kB / 486.4 MB, free: 4.129 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005577/0.402, allocations: 246.2 kB / 486.6 MB, free: 4.059 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002785/0.4023, allocations: 233.7 kB / 486.9 MB, free: 3.984 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002907/0.4026, allocations: 237.4 kB / 487.1 MB, free: 3.855 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008248/0.4034, allocations: 0.647 MB / 487.7 MB, free: 3.629 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.4034, allocations: 4 kB / 487.7 MB, free: 3.625 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.4034, allocations: 5.375 kB / 487.8 MB, free: 3.621 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.4035, allocations: 0 / 487.8 MB, free: 3.621 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001434/0.4049, allocations: 0.7714 MB / 488.5 MB, free: 3.039 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.4049, allocations: 9.781 kB / 488.5 MB, free: 3.039 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006168/0.4056, allocations: 91.36 kB / 488.6 MB, free: 3.012 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000657/0.4062, allocations: 409.7 kB / 489 MB, free: 2.711 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.4063, allocations: 24.78 kB / 489 MB, free: 2.703 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/0.4064, allocations: 53 kB / 489.1 MB, free: 2.684 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.4076, allocations: 0.6819 MB / 489.8 MB, free: 2.363 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.4076, allocations: 2.031 kB / 489.8 MB, free: 2.363 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.914e-05/0.4077, allocations: 15.16 kB / 489.8 MB, free: 2.352 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001942/0.4079, allocations: 48.06 kB / 489.8 MB, free: 2.348 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.4091, allocations: 0.6705 MB / 490.5 MB, free: 2.148 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003803/0.4129, allocations: 2.439 MB / 493 MB, free: 0.543 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006248/0.4136, allocations: 354 kB / 493.3 MB, free: 404 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003935/0.414, allocations: 257.7 kB / 493.6 MB, free: 300 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.196e-05/0.414, allocations: 6.109 kB / 493.6 MB, free: 300 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.4141, allocations: 41.12 kB / 493.6 MB, free: 252 kB / 314.7 MB Notification: Performance of pre-optimization done (n=45): time 4.819e-06/0.4141, allocations: 3.984 kB / 493.6 MB, free: 248 kB / 314.7 MB Notification: Performance of matching and sorting (n=46): time 0.002737/0.4168, allocations: 1.478 MB / 495.1 MB, free: 15.48 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.477e-05/0.4169, allocations: 86.44 kB / 495.2 MB, free: 15.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003714/0.4173, allocations: 286 kB / 495.4 MB, free: 15.22 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.4173, allocations: 35.36 kB / 495.5 MB, free: 15.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.4175, allocations: 247.2 kB / 495.7 MB, free: 14.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/0.4177, allocations: 157.4 kB / 495.9 MB, free: 14.86 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.4178, allocations: 91.08 kB / 496 MB, free: 14.81 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.418, allocations: 348.1 kB / 496.3 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003567/0.4184, allocations: 221.7 kB / 496.5 MB, free: 14.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005648/0.4189, allocations: 359.4 kB / 496.9 MB, free: 14.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009854/0.4199, allocations: 0.633 MB / 497.5 MB, free: 13.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.4199, allocations: 1.125 kB / 497.5 MB, free: 13.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001623/0.4216, allocations: 0.7283 MB / 498.2 MB, free: 13.53 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.4216, allocations: 10.28 kB / 498.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001069/0.4227, allocations: 0.519 MB / 498.8 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003528/0.4231, allocations: 78.62 kB / 498.8 MB, free: 13.28 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004146/0.4235, allocations: 102.5 kB / 498.9 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001822/0.4253, allocations: 1.598 MB / 0.4888 GB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003318/0.4257, allocations: 30.75 kB / 0.4888 GB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-05/0.4257, allocations: 20.34 kB / 0.4889 GB, free: 11.73 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (54): * Single equations (assignments): 51 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003291/0.4261, allocations: 223.2 kB / 0.4891 GB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.4262, allocations: 35.64 kB / 0.4891 GB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.4272, allocations: 0.558 MB / 0.4896 GB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.981e-05/0.4273, allocations: 19.45 kB / 0.4897 GB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.4273, allocations: 0 / 0.4897 GB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.4273, allocations: 5.516 kB / 0.4897 GB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002189/0.4295, allocations: 1.192 MB / 0.4908 GB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.4295, allocations: 1.25 kB / 0.4908 GB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004155/0.4299, allocations: 81.28 kB / 0.4909 GB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.4299, allocations: 3.5 kB / 0.4909 GB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.85e-05/0.43, allocations: 12.81 kB / 0.4909 GB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.43, allocations: 6.812 kB / 0.4909 GB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.43, allocations: 5 kB / 0.4909 GB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003706/0.4337, allocations: 2.549 MB / 0.4934 GB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.345e-05/0.4338, allocations: 112.2 kB / 0.4935 GB, free: 8.379 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.99e-05/0.4339, allocations: 11.91 kB / 0.4935 GB, free: 8.371 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.4341, allocations: 24.41 kB / 0.4936 GB, free: 8.355 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.4342, allocations: 31.33 kB / 0.4936 GB, free: 8.336 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-05/0.4343, allocations: 13.34 kB / 0.4936 GB, free: 8.332 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000237/0.4345, allocations: 199.2 kB / 0.4938 GB, free: 8.199 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4345, allocations: 0 / 0.4938 GB, free: 8.199 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007527/0.4353, allocations: 144.6 kB / 0.4939 GB, free: 8.184 MB / 330.7 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 (39): * Single equations (assignments): 36 * Array equations: 2 * 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.0002864/0.4356, allocations: 142.8 kB / 0.4941 GB, free: 8.066 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.4368, allocations: 0.6592 MB / 0.4947 GB, free: 7.719 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.4368, allocations: 5.125 kB / 0.4947 GB, free: 7.715 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004235/0.4372, allocations: 257.9 kB / 0.495 GB, free: 7.605 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005586/0.4378, allocations: 77.88 kB / 0.495 GB, free: 7.559 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002498/0.4403, allocations: 1.65 MB / 0.4967 GB, free: 6.375 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005679/0.4409, allocations: 0.887 MB / 0.4975 GB, free: 5.586 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003855/0.4413, allocations: 135.3 kB / 0.4976 GB, free: 5.484 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.4414, allocations: 35.44 kB / 0.4977 GB, free: 5.453 MB / 330.7 MB Notification: Performance of SimCode: time 5.61e-07/0.4414, allocations: 0 / 0.4977 GB, free: 5.453 MB / 330.7 MB Notification: Performance of Templates: time 0.009398/0.4508, allocations: 4.665 MB / 0.5022 GB, free: 0.8047 MB / 330.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.InitialSteadyState.mat","../files/PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches