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.00138/0.00138, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009661/0.0009661, allocations: 163.2 kB / 24.99 MB, free: 8.297 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.064/1.064, allocations: 177.1 MB / 205.3 MB, free: 5.598 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.2282/0.2282, allocations: 29.42 MB / 291.2 MB, free: 2.422 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.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.403e-06/1.403e-06, allocations: 0 / 369.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.575e-05/1.715e-05, allocations: 9.766 kB / 369.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.006635/0.006652, allocations: 8.913 MB / 378.5 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003396/0.01005, allocations: 2.995 MB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003155/0.01036, allocations: 47.62 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001517/0.01188, allocations: 1.081 MB / 382.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000788/0.01267, allocations: 0.6562 MB / 383.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.01372, allocations: 0.7594 MB / 384.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001048/0.01477, allocations: 1.66 MB / 385.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006302/0.0154, allocations: 0.6866 MB / 386.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007773/0.01617, allocations: 0.9853 MB / 387.4 MB, free: 9.422 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007496/0.01692, allocations: 0.9001 MB / 388.3 MB, free: 8.52 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.01703, allocations: 104 kB / 388.4 MB, free: 8.418 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005175/0.01755, allocations: 0.4912 MB / 388.9 MB, free: 7.926 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006419/0.01819, allocations: 0.7092 MB / 389.6 MB, free: 7.215 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003758/0.01856, allocations: 0.491 MB / 390.1 MB, free: 6.723 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.01961, allocations: 1.39 MB / 391.5 MB, free: 5.328 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.01961, allocations: 0 / 391.5 MB, free: 5.328 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.031e-06/0.01962, allocations: 0 / 391.5 MB, free: 5.328 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.01963, allocations: 0 / 391.5 MB, free: 5.328 MB / 362.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.001766/0.02139, allocations: 1.732 MB / 393.2 MB, free: 3.551 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.02143, allocations: 19.98 kB / 393.2 MB, free: 3.531 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/0.02281, allocations: 0.5189 MB / 393.8 MB, free: 3.012 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009571/0.02376, allocations: 0.8215 MB / 394.6 MB, free: 2.164 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.195e-05/0.02383, allocations: 90.7 kB / 394.7 MB, free: 2.074 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002675/0.0241, allocations: 152.7 kB / 394.8 MB, free: 1.926 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.02557, allocations: 1.398 MB / 396.2 MB, free: 292 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.111e-05/0.0256, allocations: 7.938 kB / 396.2 MB, free: 284 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.983e-05/0.02568, allocations: 55.98 kB / 396.3 MB, free: 228 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001802/0.02586, allocations: 102.1 kB / 396.4 MB, free: 124 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.02688, allocations: 0.6914 MB / 397.1 MB, free: 15.42 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005672/0.03256, allocations: 9.473 MB / 406.6 MB, free: 5.566 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006237/0.03318, allocations: 481.7 kB / 407 MB, free: 5.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002906/0.03347, allocations: 243 kB / 407.3 MB, free: 4.824 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.216e-05/0.03351, allocations: 24.64 kB / 407.3 MB, free: 4.801 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.03354, allocations: 42.05 kB / 407.3 MB, free: 4.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=82): time 2.454e-06/0.03354, allocations: 0 / 407.3 MB, free: 4.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=83): time 0.00196/0.0355, allocations: 1.647 MB / 409 MB, free: 3.062 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.03555, allocations: 85.77 kB / 409.1 MB, free: 2.961 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000574/0.03612, allocations: 0.8152 MB / 409.9 MB, free: 2.129 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/0.03616, allocations: 37.7 kB / 409.9 MB, free: 2.086 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003417/0.0365, allocations: 0.7672 MB / 410.7 MB, free: 1.309 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001755/0.03668, allocations: 325.3 kB / 411 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/0.0369, allocations: 269.1 kB / 411.3 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.03709, allocations: 0.6015 MB / 411.9 MB, free: 104 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002839/0.03737, allocations: 199.9 kB / 412.1 MB, free: 15.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008973/0.03827, allocations: 0.9984 MB / 413.1 MB, free: 14.56 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009921/0.03926, allocations: 1.309 MB / 414.4 MB, free: 12.9 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.03927, allocations: 4 kB / 414.4 MB, free: 12.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.001527/0.0408, allocations: 1.281 MB / 415.6 MB, free: 11.59 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.04082, allocations: 18.44 kB / 415.7 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008119/0.04163, allocations: 0.5679 MB / 416.2 MB, free: 11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005521/0.04218, allocations: 227.3 kB / 416.5 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005499/0.04273, allocations: 311.5 kB / 416.8 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002958/0.04569, allocations: 5.537 MB / 422.3 MB, free: 4.555 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003549/0.04605, allocations: 64.03 kB / 422.4 MB, free: 4.492 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.554e-05/0.04611, allocations: 71.98 kB / 422.4 MB, free: 4.422 MB / 394.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.0002131/0.04632, allocations: 248 kB / 422.7 MB, free: 4.168 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.04643, allocations: 127.3 kB / 422.8 MB, free: 4.043 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007541/0.04719, allocations: 0.6288 MB / 423.4 MB, free: 3.402 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.04719, allocations: 8 kB / 423.4 MB, free: 3.395 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.0472, allocations: 0 / 423.4 MB, free: 3.395 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.0472, allocations: 3.984 kB / 423.4 MB, free: 3.391 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/0.04899, allocations: 1.556 MB / 425 MB, free: 1.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.049, allocations: 8 kB / 425 MB, free: 1.762 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004578/0.04946, allocations: 187.8 kB / 425.2 MB, free: 1.578 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.04946, allocations: 4 kB / 425.2 MB, free: 1.574 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/0.04949, allocations: 20 kB / 425.2 MB, free: 1.555 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.0495, allocations: 11.98 kB / 425.2 MB, free: 1.543 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.0495, allocations: 3.938 kB / 425.2 MB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.05065, allocations: 0.9657 MB / 426.2 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.281e-05/0.05072, allocations: 83.34 kB / 426.3 MB, free: 448 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.02e-05/0.05079, allocations: 23.98 kB / 426.3 MB, free: 424 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.05098, allocations: 23.98 kB / 426.3 MB, free: 400 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.531e-05/0.05104, allocations: 64.56 kB / 426.4 MB, free: 336 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.85e-05/0.05107, allocations: 24 kB / 426.4 MB, free: 312 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000324/0.0514, allocations: 454.9 kB / 426.8 MB, free: 15.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0514, allocations: 0 / 426.8 MB, free: 15.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006129/0.05201, allocations: 292 kB / 427.1 MB, free: 15.58 MB / 410.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.000113/0.05212, allocations: 138.3 kB / 427.3 MB, free: 15.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.05318, allocations: 1.246 MB / 428.5 MB, free: 14.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.05318, allocations: 4.062 kB / 428.5 MB, free: 14.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000264/0.05344, allocations: 269.2 kB / 428.8 MB, free: 13.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005047/0.05395, allocations: 173.5 kB / 428.9 MB, free: 13.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.05645, allocations: 2.285 MB / 431.2 MB, free: 11.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.05666, allocations: 331.5 kB / 431.6 MB, free: 11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005055/0.05717, allocations: 360.5 kB / 431.9 MB, free: 10.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.05732, allocations: 84.48 kB / 432 MB, free: 10.57 MB / 410.7 MB Notification: Performance of SimCode: time 6.72e-07/0.05732, allocations: 0 / 432 MB, free: 10.57 MB / 410.7 MB Notification: Performance of Templates: time 0.1257/0.183, allocations: 10.77 MB / 442.8 MB, free: 105.3 MB / 410.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.387224047910422]