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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001922/0.001922, allocations: 181.8 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1939/0.1939, allocations: 38.54 MB / 346.3 MB, free: 2.121 MB / 270.1 MB " [Timeout remaining time 179] 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.InitialSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 60.12 kB / 484.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4105, allocations: 61.3 MB / 0.533 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.005849/0.4163, allocations: 4.559 MB / 0.5375 GB, free: 2.293 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.4186, allocations: 1.45 MB / 0.5389 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002092/0.4188, allocations: 25.38 kB / 0.5389 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.4199, allocations: 390.4 kB / 0.5393 GB, free: 0.832 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000499/0.4204, allocations: 256.1 kB / 0.5395 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006426/0.421, allocations: 239.2 kB / 0.5398 GB, free: 472 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005772/0.4216, allocations: 0.5663 MB / 0.5403 GB, free: 148 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003498/0.4219, allocations: 188.2 kB / 0.5405 GB, free: 36 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000435/0.4224, allocations: 276.1 kB / 0.5408 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005909/0.423, allocations: 375.4 kB / 0.5411 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.785e-05/0.423, allocations: 40.25 kB / 0.5412 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005452/0.4236, allocations: 243.6 kB / 0.5414 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003007/0.4239, allocations: 243.5 kB / 0.5416 GB, free: 15.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003282/0.4242, allocations: 257.4 kB / 0.5419 GB, free: 15.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009831/0.4252, allocations: 0.6768 MB / 0.5425 GB, free: 14.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4252, allocations: 1.469 kB / 0.5425 GB, free: 14.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4252, allocations: 0 / 0.5425 GB, free: 14.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.938e-06/0.4252, allocations: 0 / 0.5425 GB, free: 14.79 MB / 398.1 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.00162/0.4268, allocations: 0.7075 MB / 0.5432 GB, free: 14.22 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.4269, allocations: 9.531 kB / 0.5432 GB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006805/0.4275, allocations: 95.05 kB / 0.5433 GB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008351/0.4284, allocations: 364 kB / 0.5437 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.62e-05/0.4284, allocations: 29.12 kB / 0.5437 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.4286, allocations: 54.06 kB / 0.5437 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.4297, allocations: 0.6797 MB / 0.5444 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.4298, allocations: 6.281 kB / 0.5444 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.323e-05/0.4298, allocations: 11.81 kB / 0.5444 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001917/0.43, allocations: 49.28 kB / 0.5445 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.4311, allocations: 0.67 MB / 0.5451 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003985/0.4351, allocations: 2.383 MB / 0.5475 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000578/0.4357, allocations: 322.5 kB / 0.5478 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003621/0.4361, allocations: 229.1 kB / 0.548 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.746e-05/0.4361, allocations: 12.77 kB / 0.548 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.4361, allocations: 37.06 kB / 0.548 GB, free: 10.89 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.415e-06/0.4361, allocations: 0 / 0.548 GB, free: 10.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002442/0.4386, allocations: 1.403 MB / 0.5494 GB, free: 10.12 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.471e-05/0.4387, allocations: 81.33 kB / 0.5495 GB, free: 10.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003299/0.439, allocations: 293.8 kB / 0.5498 GB, free: 9.824 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.439, allocations: 30.73 kB / 0.5498 GB, free: 9.789 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002248/0.4392, allocations: 255.4 kB / 0.55 GB, free: 9.559 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.4394, allocations: 166.6 kB / 0.5502 GB, free: 9.414 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.4396, allocations: 94.58 kB / 0.5503 GB, free: 9.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.4398, allocations: 349.3 kB / 0.5506 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.4401, allocations: 216.5 kB / 0.5508 GB, free: 8.922 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005515/0.4407, allocations: 364.7 kB / 0.5512 GB, free: 8.645 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.4417, allocations: 0.6333 MB / 0.5518 GB, free: 8.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.4417, allocations: 5.094 kB / 0.5518 GB, free: 8.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001475/0.4432, allocations: 0.7163 MB / 0.5525 GB, free: 7.738 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.4432, allocations: 15.88 kB / 0.5525 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009507/0.4442, allocations: 0.5147 MB / 0.553 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003549/0.4445, allocations: 72.8 kB / 0.5531 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004395/0.445, allocations: 112.1 kB / 0.5532 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/0.4469, allocations: 1.623 MB / 0.5548 GB, free: 5.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/0.4473, allocations: 31.95 kB / 0.5548 GB, free: 5.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.486e-05/0.4473, allocations: 20 kB / 0.5548 GB, free: 5.23 MB / 398.1 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.0003369/0.4477, allocations: 221 kB / 0.555 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.4478, allocations: 39.7 kB / 0.5551 GB, free: 4.969 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.4488, allocations: 0.559 MB / 0.5556 GB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-05/0.4488, allocations: 16.05 kB / 0.5556 GB, free: 4.391 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.4488, allocations: 4 kB / 0.5556 GB, free: 4.387 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.4488, allocations: 3.984 kB / 0.5556 GB, free: 4.383 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/0.451, allocations: 1.157 MB / 0.5568 GB, free: 3.168 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.451, allocations: 0 / 0.5568 GB, free: 3.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004317/0.4514, allocations: 87.88 kB / 0.5568 GB, free: 3.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.4514, allocations: 4.094 kB / 0.5568 GB, free: 3.078 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.221e-05/0.4515, allocations: 19.98 kB / 0.5569 GB, free: 3.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.4515, allocations: 0 / 0.5569 GB, free: 3.059 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4515, allocations: 4 kB / 0.5569 GB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.4528, allocations: 0.9315 MB / 0.5578 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.307e-05/0.4529, allocations: 31.77 kB / 0.5578 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.966e-05/0.453, allocations: 16.03 kB / 0.5578 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.4532, allocations: 15.98 kB / 0.5578 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.155e-05/0.4533, allocations: 27.75 kB / 0.5579 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.4533, allocations: 19.92 kB / 0.5579 GB, free: 1.984 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002353/0.4535, allocations: 203 kB / 0.5581 GB, free: 1.785 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4535, allocations: 0 / 0.5581 GB, free: 1.785 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005702/0.4541, allocations: 123.9 kB / 0.5582 GB, free: 1.664 MB / 398.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 (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.0002687/0.4544, allocations: 139.1 kB / 0.5583 GB, free: 1.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001165/0.4555, allocations: 0.6349 MB / 0.559 GB, free: 0.875 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4555, allocations: 4.062 kB / 0.559 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003756/0.4559, allocations: 239.4 kB / 0.5592 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005549/0.4565, allocations: 72.55 kB / 0.5593 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.4586, allocations: 1.19 MB / 0.5604 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000632/0.4593, allocations: 0.8744 MB / 0.5613 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003466/0.4596, allocations: 127.1 kB / 0.5614 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.4597, allocations: 35.44 kB / 0.5614 GB, free: 14.28 MB / 414.1 MB Notification: Performance of SimCode: time 4.5e-07/0.4597, allocations: 4 kB / 0.5614 GB, free: 14.28 MB / 414.1 MB Notification: Performance of Templates: time 0.01138/0.4711, allocations: 5.022 MB / 0.5663 GB, free: 9.281 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.InitialSteadyState.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.441906316205859]