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.001601/0.001601, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001971/0.001971, allocations: 162.8 kB / 24.99 MB, free: 8.746 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.01/1.01, allocations: 177.1 MB / 205.3 MB, free: 5.602 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.2382/0.2382, allocations: 29.41 MB / 291.2 MB, free: 2.418 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.966e-06/2.966e-06, allocations: 3.938 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.674e-05, allocations: 5.547 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.004337/0.004364, allocations: 4.537 MB / 374.1 MB, free: 6.746 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.006264, allocations: 1.437 MB / 375.6 MB, free: 5.305 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.006447, allocations: 19.81 kB / 375.6 MB, free: 5.285 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000692/0.007139, allocations: 378.3 kB / 376 MB, free: 4.914 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004161/0.007555, allocations: 262.5 kB / 376.2 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004883/0.008043, allocations: 259.2 kB / 376.5 MB, free: 4.402 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000449/0.008492, allocations: 0.5728 MB / 377 MB, free: 3.828 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003089/0.008801, allocations: 225.4 kB / 377.3 MB, free: 3.609 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003632/0.009164, allocations: 347 kB / 377.6 MB, free: 3.27 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003444/0.009509, allocations: 355.1 kB / 378 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.561e-05/0.009554, allocations: 36 kB / 378 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002996/0.009854, allocations: 231.5 kB / 378.2 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.01003, allocations: 259.4 kB / 378.5 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.01018, allocations: 175.6 kB / 378.6 MB, free: 2.234 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005208/0.0107, allocations: 0.549 MB / 379.2 MB, free: 1.684 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.01071, allocations: 0 / 379.2 MB, free: 1.684 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.01071, allocations: 0 / 379.2 MB, free: 1.684 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.01071, allocations: 4 kB / 379.2 MB, free: 1.68 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.0009364/0.01165, allocations: 0.8133 MB / 380 MB, free: 0.832 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.01169, allocations: 11.98 kB / 380 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005432/0.01223, allocations: 176.4 kB / 380.2 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004346/0.01266, allocations: 374.7 kB / 380.6 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.01269, allocations: 29.36 kB / 380.6 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.01279, allocations: 52.67 kB / 380.6 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000535/0.01333, allocations: 473.3 kB / 381.1 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.01334, allocations: 0 / 381.1 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.498e-05/0.01338, allocations: 16 kB / 381.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001093/0.01349, allocations: 52.95 kB / 381.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004269/0.01391, allocations: 309.6 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001973/0.01589, allocations: 2.401 MB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/0.01617, allocations: 194.8 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.01631, allocations: 119.7 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.01634, allocations: 8.281 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.01636, allocations: 37.67 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 1.764e-06/0.01636, allocations: 0 / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.001196/0.01756, allocations: 0.9059 MB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.0176, allocations: 85.05 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.0178, allocations: 322.2 kB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.01782, allocations: 37.69 kB / 385.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.01795, allocations: 299 kB / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.562e-05/0.01803, allocations: 166.6 kB / 386 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.197e-05/0.01812, allocations: 95.8 kB / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.01826, allocations: 0.5274 MB / 386.6 MB, free: 9.871 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.01838, allocations: 89.09 kB / 386.7 MB, free: 9.785 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.01859, allocations: 287.9 kB / 387 MB, free: 9.422 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.01896, allocations: 429.8 kB / 387.4 MB, free: 8.926 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.01896, allocations: 3.984 kB / 387.4 MB, free: 8.922 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006187/0.01958, allocations: 489.3 kB / 387.9 MB, free: 8.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.01959, allocations: 8 kB / 387.9 MB, free: 8.422 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003597/0.01995, allocations: 283.1 kB / 388.2 MB, free: 8.145 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002283/0.02018, allocations: 68.03 kB / 388.3 MB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.02041, allocations: 103.8 kB / 388.4 MB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009807/0.02139, allocations: 1.85 MB / 390.2 MB, free: 6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.02153, allocations: 31.91 kB / 390.2 MB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.02156, allocations: 20 kB / 390.3 MB, free: 5.949 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.0001226/0.02168, allocations: 188.4 kB / 390.4 MB, free: 5.754 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.421e-05/0.02176, allocations: 55.75 kB / 390.5 MB, free: 5.699 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004165/0.02217, allocations: 349.8 kB / 390.8 MB, free: 5.348 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/0.02219, allocations: 8 kB / 390.8 MB, free: 5.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.02219, allocations: 0 / 390.8 MB, free: 5.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.0222, allocations: 11.88 kB / 390.9 MB, free: 5.328 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009305/0.02313, allocations: 0.8526 MB / 391.7 MB, free: 4.422 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.02313, allocations: 12.08 kB / 391.7 MB, free: 4.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.02335, allocations: 79.89 kB / 391.8 MB, free: 4.332 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.02335, allocations: 4 kB / 391.8 MB, free: 4.328 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.02337, allocations: 15.92 kB / 391.8 MB, free: 4.312 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.02338, allocations: 4 kB / 391.8 MB, free: 4.309 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.02338, allocations: 0 / 391.8 MB, free: 4.309 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00055/0.02393, allocations: 0.6011 MB / 392.4 MB, free: 3.668 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.232e-05/0.02396, allocations: 35.75 kB / 392.5 MB, free: 3.633 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.256e-05/0.02399, allocations: 15.94 kB / 392.5 MB, free: 3.617 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.0241, allocations: 23.97 kB / 392.5 MB, free: 3.594 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.02415, allocations: 27.81 kB / 392.5 MB, free: 3.566 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.02417, allocations: 8 kB / 392.5 MB, free: 3.559 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001106/0.02428, allocations: 215 kB / 392.7 MB, free: 3.348 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02428, allocations: 3.938 kB / 392.7 MB, free: 3.344 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003348/0.02462, allocations: 123.9 kB / 392.9 MB, free: 3.223 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.0001938/0.02481, allocations: 131.2 kB / 393 MB, free: 3.086 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005668/0.02538, allocations: 0.4895 MB / 393.5 MB, free: 2.574 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.02538, allocations: 0 / 393.5 MB, free: 2.574 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.02554, allocations: 156.2 kB / 393.6 MB, free: 2.418 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.02586, allocations: 77.34 kB / 393.7 MB, free: 2.348 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.02734, allocations: 0.9621 MB / 394.7 MB, free: 1.336 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.02745, allocations: 153.9 kB / 394.8 MB, free: 1.164 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001932/0.02764, allocations: 103.1 kB / 394.9 MB, free: 1.059 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.913e-05/0.02772, allocations: 36.5 kB / 395 MB, free: 1.023 MB / 362.7 MB Notification: Performance of SimCode: time 1.543e-06/0.02772, allocations: 0 / 395 MB, free: 1.023 MB / 362.7 MB Notification: Performance of Templates: time 0.007066/0.03479, allocations: 4.535 MB / 399.5 MB, free: 12.57 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.2337142748292536]