Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.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.0009836/0.0009836, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001094/0.001094, allocations: 163.9 kB / 25.61 MB, free: 8.582 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 0.9779/0.9779, allocations: 177.1 MB / 206.1 MB, free: 4.473 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.1132/0.1132, allocations: 29.43 MB / 292 MB, free: 2.617 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.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter0.alpha_v|meter0.p.[0-9,]+.|meter0.v_norm|meter1.alpha_v|meter1.p.[0-9,]+.|meter1.v_norm|meter2.alpha_v|meter2.p.[0-9,]+.|meter2.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") translateModel(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter0.alpha_v|meter0.p.[0-9,]+.|meter0.v_norm|meter1.alpha_v|meter1.p.[0-9,]+.|meter1.v_norm|meter2.alpha_v|meter2.p.[0-9,]+.|meter2.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.604e-05/1.764e-05, allocations: 3.125 kB / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.007322/0.00734, allocations: 7.208 MB / 378.1 MB, free: 25.06 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004262/0.0116, allocations: 2.967 MB / 381.1 MB, free: 22.09 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004119/0.01201, allocations: 51.56 kB / 381.1 MB, free: 22.04 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001674/0.01369, allocations: 0.7736 MB / 381.9 MB, free: 21.26 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.01469, allocations: 0.629 MB / 382.5 MB, free: 20.62 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001558/0.01625, allocations: 0.7633 MB / 383.3 MB, free: 19.86 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001254/0.01751, allocations: 1.641 MB / 384.9 MB, free: 18.21 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007335/0.01824, allocations: 0.6905 MB / 385.6 MB, free: 17.5 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001172/0.01941, allocations: 1.126 MB / 386.8 MB, free: 16.37 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000891/0.0203, allocations: 0.7948 MB / 387.5 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.02045, allocations: 96 kB / 387.6 MB, free: 15.48 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007523/0.0212, allocations: 491.1 kB / 388.1 MB, free: 15 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000462/0.02166, allocations: 0.7014 MB / 388.8 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004357/0.0221, allocations: 0.491 MB / 389.3 MB, free: 13.8 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.02334, allocations: 1.374 MB / 390.7 MB, free: 12.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.02334, allocations: 0 / 390.7 MB, free: 12.42 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.02334, allocations: 0 / 390.7 MB, free: 12.42 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.02335, allocations: 0 / 390.7 MB, free: 12.42 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: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.002134/0.02549, allocations: 1.654 MB / 392.3 MB, free: 10.72 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.02552, allocations: 8.031 kB / 392.4 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001721/0.02724, allocations: 463.5 kB / 392.8 MB, free: 10.26 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009407/0.02818, allocations: 0.7294 MB / 393.5 MB, free: 9.508 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.549e-05/0.02825, allocations: 86.7 kB / 393.6 MB, free: 9.422 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003021/0.02855, allocations: 156.7 kB / 393.8 MB, free: 9.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.02994, allocations: 1.316 MB / 395.1 MB, free: 7.715 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.937e-05/0.02998, allocations: 7.938 kB / 395.1 MB, free: 7.707 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.03009, allocations: 44 kB / 395.1 MB, free: 7.664 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000226/0.03031, allocations: 106.1 kB / 395.2 MB, free: 7.559 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000983/0.0313, allocations: 0.5733 MB / 395.8 MB, free: 6.965 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005786/0.03708, allocations: 9.343 MB / 405.2 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007221/0.03781, allocations: 421.5 kB / 405.6 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003334/0.03814, allocations: 206 kB / 405.8 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.186e-05/0.03819, allocations: 28.56 kB / 405.8 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.03822, allocations: 42.05 kB / 405.8 MB, free: 12.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=82): time 2.685e-06/0.03822, allocations: 4 kB / 405.8 MB, free: 12.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=83): time 0.002247/0.04047, allocations: 1.174 MB / 407 MB, free: 11.3 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.04052, allocations: 89.7 kB / 407.1 MB, free: 11.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007931/0.04132, allocations: 0.8109 MB / 407.9 MB, free: 10.36 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.181e-05/0.04137, allocations: 41.7 kB / 408 MB, free: 10.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005029/0.04187, allocations: 0.771 MB / 408.7 MB, free: 9.535 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002442/0.04211, allocations: 321.3 kB / 409 MB, free: 9.219 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00035/0.04246, allocations: 273 kB / 409.3 MB, free: 8.945 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002641/0.04273, allocations: 0.6169 MB / 409.9 MB, free: 8.316 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/0.04301, allocations: 143.9 kB / 410.1 MB, free: 8.176 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007691/0.04378, allocations: 0.9632 MB / 411 MB, free: 6.863 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.04501, allocations: 1.227 MB / 412.3 MB, free: 5.285 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-05/0.04502, allocations: 8 kB / 412.3 MB, free: 5.277 MB / 330.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.0021/0.04712, allocations: 1.164 MB / 413.4 MB, free: 4.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.04715, allocations: 20.25 kB / 413.4 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001031/0.04818, allocations: 0.4898 MB / 413.9 MB, free: 3.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008545/0.04903, allocations: 218.8 kB / 414.1 MB, free: 3.344 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008918/0.04993, allocations: 303.5 kB / 414.4 MB, free: 3.047 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002922/0.05285, allocations: 5.465 MB / 419.9 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003319/0.05318, allocations: 47.95 kB / 420 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.757e-05/0.05324, allocations: 59.98 kB / 420 MB, free: 13.13 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * 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 (168): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00022/0.05346, allocations: 256.1 kB / 420.3 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.05357, allocations: 119.4 kB / 420.4 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005831/0.05415, allocations: 0.5662 MB / 420.9 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.05416, allocations: 11.94 kB / 421 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.05416, allocations: 4 kB / 421 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.05416, allocations: 7.922 kB / 421 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.05559, allocations: 1.302 MB / 422.3 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.05559, allocations: 0 / 422.3 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004211/0.05601, allocations: 180 kB / 422.5 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.05602, allocations: 4 kB / 422.5 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.05604, allocations: 27.98 kB / 422.5 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.05605, allocations: 4 kB / 422.5 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.05605, allocations: 3.938 kB / 422.5 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007162/0.05677, allocations: 0.8715 MB / 423.4 MB, free: 9.656 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.351e-05/0.05684, allocations: 87.38 kB / 423.4 MB, free: 9.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.581e-05/0.05691, allocations: 23.95 kB / 423.5 MB, free: 9.547 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.05709, allocations: 12 kB / 423.5 MB, free: 9.535 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.259e-05/0.05715, allocations: 64.48 kB / 423.5 MB, free: 9.473 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.05717, allocations: 16 kB / 423.6 MB, free: 9.457 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002467/0.05742, allocations: 434.8 kB / 424 MB, free: 9.031 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05742, allocations: 0 / 424 MB, free: 9.031 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005804/0.058, allocations: 292 kB / 424.3 MB, free: 8.746 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (line0.i[1],line0.i[2],line0.i[3],line1.i[1],line1.i[2],line1.i[3],line2.i[1],line2.i[2],line2.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 (86): * Single equations (assignments): 85 * Array equations: 0 * 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.0001503/0.05815, allocations: 124.3 kB / 424.4 MB, free: 8.617 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009318/0.05908, allocations: 1.162 MB / 425.6 MB, free: 7.406 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.05909, allocations: 5.75 kB / 425.6 MB, free: 7.402 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002164/0.0593, allocations: 237.1 kB / 425.8 MB, free: 7.168 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005231/0.05983, allocations: 175 kB / 426 MB, free: 7.004 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002426/0.06225, allocations: 2.264 MB / 428.2 MB, free: 4.668 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.06247, allocations: 327.6 kB / 428.5 MB, free: 4.324 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002953/0.06277, allocations: 152.9 kB / 428.7 MB, free: 4.172 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003182/0.06309, allocations: 266.1 kB / 429 MB, free: 3.91 MB / 346.7 MB Notification: Performance of SimCode: time 5.41e-07/0.06309, allocations: 0 / 429 MB, free: 3.91 MB / 346.7 MB Notification: Performance of Templates: time 0.01372/0.0768, allocations: 11.74 MB / 440.7 MB, free: 8.371 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.VoltageStability.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.3213008833117783]