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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.007414/0.007414, allocations: 165.8 kB / 24.82 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.063/1.063, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2724/0.2724, allocations: 29.42 MB / 291.2 MB, free: 2.395 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter_dq0.i.[0-9,]+.|meter_dq0.p.[0-9,]+.|meter_dq0.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState") translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter_dq0.i.[0-9,]+.|meter_dq0.p.[0-9,]+.|meter_dq0.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.925e-05, allocations: 2.312 kB / 370.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.004385/0.004404, allocations: 4.045 MB / 374.1 MB, free: 6.645 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.006539, allocations: 1.328 MB / 375.5 MB, free: 5.312 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002033/0.006742, allocations: 19.81 kB / 375.5 MB, free: 5.293 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006522/0.007394, allocations: 270.7 kB / 375.8 MB, free: 5.027 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004089/0.007803, allocations: 266.5 kB / 376 MB, free: 4.766 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004624/0.008266, allocations: 255.2 kB / 376.3 MB, free: 4.516 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004165/0.008682, allocations: 0.5572 MB / 376.8 MB, free: 3.957 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002825/0.008965, allocations: 233.6 kB / 377 MB, free: 3.73 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004265/0.009391, allocations: 383 kB / 377.4 MB, free: 3.355 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000319/0.00971, allocations: 323.2 kB / 377.7 MB, free: 3.039 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.194e-05/0.009762, allocations: 40 kB / 377.8 MB, free: 3 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003285/0.01009, allocations: 239.5 kB / 378 MB, free: 2.766 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001906/0.01028, allocations: 251.4 kB / 378.3 MB, free: 2.52 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.01043, allocations: 167.6 kB / 378.4 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005168/0.01094, allocations: 0.5529 MB / 379 MB, free: 1.801 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.01094, allocations: 0 / 379 MB, free: 1.801 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.01095, allocations: 0 / 379 MB, free: 1.801 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.01095, allocations: 4 kB / 379 MB, free: 1.797 MB / 346.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.0008676/0.01182, allocations: 0.7704 MB / 379.7 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.01187, allocations: 15.92 kB / 379.8 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000486/0.01235, allocations: 156.5 kB / 379.9 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.01271, allocations: 331.1 kB / 380.2 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.01273, allocations: 29.38 kB / 380.3 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.01283, allocations: 52.66 kB / 380.3 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004387/0.01327, allocations: 437.2 kB / 380.7 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.01329, allocations: 0 / 380.7 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.01332, allocations: 20 kB / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.025e-05/0.01341, allocations: 44.97 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002885/0.0137, allocations: 242.7 kB / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002086/0.01578, allocations: 2.281 MB / 383.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.01602, allocations: 182.6 kB / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.01612, allocations: 99.66 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/0.01616, allocations: 8.266 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.01618, allocations: 37.67 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 2.314e-06/0.01618, allocations: 0 / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.00093/0.01711, allocations: 0.7114 MB / 384.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.01716, allocations: 85.09 kB / 384.4 MB, free: 12.03 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.01735, allocations: 330 kB / 384.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.01737, allocations: 33.7 kB / 384.8 MB, free: 11.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.0175, allocations: 299 kB / 385.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.009e-05/0.01759, allocations: 170.5 kB / 385.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.01769, allocations: 103.7 kB / 385.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.01784, allocations: 0.5313 MB / 385.9 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.039e-05/0.01792, allocations: 61.11 kB / 385.9 MB, free: 10.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.0181, allocations: 267.8 kB / 386.2 MB, free: 10.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003075/0.01841, allocations: 389.8 kB / 386.6 MB, free: 9.676 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.01841, allocations: 0 / 386.6 MB, free: 9.676 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0005367/0.01895, allocations: 441.3 kB / 387 MB, free: 9.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.01897, allocations: 4 kB / 387 MB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003004/0.01927, allocations: 243.1 kB / 387.3 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002133/0.01948, allocations: 64.06 kB / 387.3 MB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.01968, allocations: 91.84 kB / 387.4 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/0.02098, allocations: 1.812 MB / 389.2 MB, free: 6.906 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.02109, allocations: 16 kB / 389.2 MB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.02112, allocations: 19.98 kB / 389.3 MB, free: 6.871 MB / 362.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.0001407/0.02126, allocations: 196.3 kB / 389.5 MB, free: 6.668 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.405e-05/0.02134, allocations: 51.77 kB / 389.5 MB, free: 6.617 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003408/0.02168, allocations: 306.1 kB / 389.8 MB, free: 6.309 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.02169, allocations: 12 kB / 389.8 MB, free: 6.297 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.02169, allocations: 3.938 kB / 389.8 MB, free: 6.293 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.0217, allocations: 3.984 kB / 389.8 MB, free: 6.289 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008226/0.02252, allocations: 0.7516 MB / 390.6 MB, free: 5.488 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.02253, allocations: 4 kB / 390.6 MB, free: 5.484 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.02272, allocations: 75.91 kB / 390.6 MB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.02272, allocations: 0 / 390.6 MB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.02274, allocations: 11.98 kB / 390.7 MB, free: 5.398 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.02275, allocations: 4 kB / 390.7 MB, free: 5.395 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.02275, allocations: 0 / 390.7 MB, free: 5.395 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004661/0.02321, allocations: 0.5463 MB / 391.2 MB, free: 4.812 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.198e-05/0.02325, allocations: 35.77 kB / 391.2 MB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.02327, allocations: 11.98 kB / 391.3 MB, free: 4.766 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.075e-05/0.02336, allocations: 12.03 kB / 391.3 MB, free: 4.754 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.02341, allocations: 35.73 kB / 391.3 MB, free: 4.719 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.02343, allocations: 8 kB / 391.3 MB, free: 4.711 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.668e-05/0.02352, allocations: 206.9 kB / 391.5 MB, free: 4.508 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02352, allocations: 0 / 391.5 MB, free: 4.508 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003092/0.02383, allocations: 119.9 kB / 391.6 MB, free: 4.391 MB / 362.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.0002106/0.02404, allocations: 139.1 kB / 391.8 MB, free: 4.246 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004922/0.02453, allocations: 469.2 kB / 392.2 MB, free: 3.766 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.02454, allocations: 0 / 392.2 MB, free: 3.766 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.02467, allocations: 129.5 kB / 392.4 MB, free: 3.637 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.02501, allocations: 72.61 kB / 392.4 MB, free: 3.562 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.02634, allocations: 0.9417 MB / 393.4 MB, free: 2.574 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.725e-05/0.02643, allocations: 153.8 kB / 393.5 MB, free: 2.402 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001244/0.02656, allocations: 55.25 kB / 393.6 MB, free: 2.344 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.02672, allocations: 142.2 kB / 393.7 MB, free: 2.203 MB / 362.7 MB Notification: Performance of SimCode: time 7.32e-07/0.02672, allocations: 0 / 393.7 MB, free: 2.203 MB / 362.7 MB Notification: Performance of Templates: time 0.007345/0.03407, allocations: 4.82 MB / 398.5 MB, free: 13.46 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.InitialSteadyState.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.392850549891591]