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.001289/0.001289, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001297/0.001297, allocations: 161 kB / 24.56 MB, free: 12 kB / 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 0.9748/0.9748, allocations: 177.1 MB / 205 MB, free: 5.27 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.2386/0.2386, allocations: 29.41 MB / 290.9 MB, free: 2.461 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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.465e-06/2.465e-06, allocations: 0 / 369.6 MB, free: 11.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.083e-05/3.329e-05, allocations: 2.312 kB / 369.6 MB, free: 11.06 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.00453/0.004563, allocations: 4.056 MB / 373.7 MB, free: 6.973 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.006509, allocations: 1.442 MB / 375.1 MB, free: 5.527 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002026/0.006711, allocations: 19.88 kB / 375.1 MB, free: 5.508 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005757/0.007287, allocations: 147.1 kB / 375.3 MB, free: 5.363 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004297/0.007717, allocations: 250.6 kB / 375.5 MB, free: 5.117 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004783/0.008195, allocations: 259.1 kB / 375.8 MB, free: 4.863 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000435/0.00863, allocations: 0.5728 MB / 376.3 MB, free: 4.289 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000309/0.008939, allocations: 229.7 kB / 376.6 MB, free: 4.066 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003467/0.009286, allocations: 343.1 kB / 376.9 MB, free: 3.73 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003552/0.009641, allocations: 351.1 kB / 377.2 MB, free: 3.387 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.609e-05/0.009687, allocations: 40 kB / 377.3 MB, free: 3.348 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003065/0.009994, allocations: 231.6 kB / 377.5 MB, free: 3.121 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001817/0.01018, allocations: 255.4 kB / 377.8 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.01033, allocations: 179.6 kB / 377.9 MB, free: 2.695 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005174/0.01085, allocations: 0.5451 MB / 378.5 MB, free: 2.148 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.01085, allocations: 0 / 378.5 MB, free: 2.148 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.01085, allocations: 0 / 378.5 MB, free: 2.148 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.01086, allocations: 0 / 378.5 MB, free: 2.148 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.001058/0.01192, allocations: 0.8172 MB / 379.3 MB, free: 1.297 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.01197, allocations: 11.98 kB / 379.3 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005765/0.01255, allocations: 180.4 kB / 379.5 MB, free: 1.109 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004586/0.01301, allocations: 370.7 kB / 379.8 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.01303, allocations: 29.38 kB / 379.9 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.01316, allocations: 48.73 kB / 379.9 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000536/0.01369, allocations: 465.3 kB / 380.4 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.01371, allocations: 7.938 kB / 380.4 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.01374, allocations: 23.97 kB / 380.4 MB, free: 116 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.626e-05/0.01384, allocations: 48.97 kB / 380.5 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004199/0.01426, allocations: 301.6 kB / 380.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002057/0.01631, allocations: 2.405 MB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/0.01662, allocations: 194.8 kB / 383.3 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.01676, allocations: 115.6 kB / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.752e-05/0.01679, allocations: 12.28 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.01682, allocations: 41.66 kB / 383.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 1.763e-06/0.01683, allocations: 4 kB / 383.5 MB, free: 12.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.001332/0.01816, allocations: 0.9019 MB / 384.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.01821, allocations: 89.05 kB / 384.5 MB, free: 11.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.01843, allocations: 318.2 kB / 384.8 MB, free: 11.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.01846, allocations: 29.7 kB / 384.8 MB, free: 11.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.0186, allocations: 299 kB / 385.1 MB, free: 11.15 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.866e-05/0.01869, allocations: 170.6 kB / 385.3 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.0188, allocations: 107.8 kB / 385.4 MB, free: 10.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.01895, allocations: 0.5236 MB / 385.9 MB, free: 10.33 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.01908, allocations: 89.11 kB / 386 MB, free: 10.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.01932, allocations: 287.9 kB / 386.3 MB, free: 9.883 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004018/0.01973, allocations: 421.8 kB / 386.7 MB, free: 9.395 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.01973, allocations: 4 kB / 386.7 MB, free: 9.391 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006767/0.02041, allocations: 481.2 kB / 387.2 MB, free: 8.906 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.02043, allocations: 11.98 kB / 387.2 MB, free: 8.895 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003958/0.02083, allocations: 279.6 kB / 387.5 MB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002761/0.0211, allocations: 67.56 kB / 387.5 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.02134, allocations: 107.9 kB / 387.6 MB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/0.0225, allocations: 1.846 MB / 389.5 MB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.02263, allocations: 39.94 kB / 389.5 MB, free: 6.438 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.833e-05/0.02267, allocations: 20 kB / 389.5 MB, free: 6.418 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.0001342/0.02281, allocations: 188.4 kB / 389.7 MB, free: 6.223 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.316e-05/0.02288, allocations: 55.91 kB / 389.8 MB, free: 6.168 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004526/0.02333, allocations: 349.7 kB / 390.1 MB, free: 5.816 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-05/0.02335, allocations: 12 kB / 390.1 MB, free: 5.805 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.02335, allocations: 0 / 390.1 MB, free: 5.805 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.02336, allocations: 7.922 kB / 390.1 MB, free: 5.797 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.02438, allocations: 0.8605 MB / 391 MB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.02439, allocations: 0 / 391 MB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/0.0246, allocations: 87.88 kB / 391.1 MB, free: 4.797 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.0246, allocations: 4 kB / 391.1 MB, free: 4.793 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.02462, allocations: 11.94 kB / 391.1 MB, free: 4.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.02462, allocations: 0 / 391.1 MB, free: 4.781 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.02463, allocations: 4 kB / 391.1 MB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005764/0.0252, allocations: 0.6051 MB / 391.7 MB, free: 4.133 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.219e-05/0.02523, allocations: 35.77 kB / 391.8 MB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.02526, allocations: 11.94 kB / 391.8 MB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.02537, allocations: 23.95 kB / 391.8 MB, free: 4.062 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/0.02541, allocations: 31.81 kB / 391.8 MB, free: 4.031 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.02543, allocations: 8 kB / 391.8 MB, free: 4.023 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001239/0.02556, allocations: 215 kB / 392 MB, free: 3.812 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02556, allocations: 0 / 392 MB, free: 3.812 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003182/0.02587, allocations: 119.9 kB / 392.2 MB, free: 3.695 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.0002242/0.0261, allocations: 139.1 kB / 392.3 MB, free: 3.551 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000577/0.02667, allocations: 497.3 kB / 392.8 MB, free: 3.043 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.02668, allocations: 1.125 kB / 392.8 MB, free: 3.043 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.02683, allocations: 156.2 kB / 392.9 MB, free: 2.887 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.02717, allocations: 84.92 kB / 393 MB, free: 2.812 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.02857, allocations: 0.9659 MB / 394 MB, free: 1.797 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.02867, allocations: 153.9 kB / 394.1 MB, free: 1.625 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001678/0.02884, allocations: 99.16 kB / 394.2 MB, free: 1.523 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.924e-05/0.02892, allocations: 32.5 kB / 394.3 MB, free: 1.492 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.02892, allocations: 0 / 394.3 MB, free: 1.492 MB / 362.7 MB Notification: Performance of Templates: time 0.006641/0.03556, allocations: 4.534 MB / 398.8 MB, free: 13.03 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.3321517021395266]