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.001496/0.001496, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.001549/0.001549, allocations: 211.3 kB / 23.73 MB, free: 4.387 MB / 14.72 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.56/1.56, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.1879/0.1879, allocations: 38.55 MB / 352.5 MB, free: 12.34 MB / 286.1 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.1.|meter0.v_norm|meter1.alpha_v|meter1.p.1.|meter1.v_norm|meter2.alpha_v|meter2.p.1.|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.1.|meter0.v_norm|meter1.alpha_v|meter1.p.1.|meter1.v_norm|meter2.alpha_v|meter2.p.1.|meter2.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002312/0.002312, allocations: 67.88 kB / 493 MB, free: 4.215 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3775, allocations: 62.46 MB / 0.5424 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.0119/0.3894, allocations: 8.363 MB / 0.5506 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007333/0.3967, allocations: 2.863 MB / 0.5534 GB, free: 7.832 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001326/0.3981, allocations: 45.44 kB / 0.5534 GB, free: 7.809 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003554/0.4016, allocations: 1.058 MB / 0.5545 GB, free: 7.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002328/0.404, allocations: 0.6389 MB / 0.5551 GB, free: 6.477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002652/0.4066, allocations: 0.7408 MB / 0.5558 GB, free: 5.953 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002854/0.4095, allocations: 1.62 MB / 0.5574 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001488/0.4109, allocations: 0.6866 MB / 0.5581 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002112/0.4131, allocations: 0.7549 MB / 0.5588 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002372/0.4154, allocations: 0.9579 MB / 0.5598 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004801/0.4159, allocations: 104 kB / 0.5598 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001788/0.4177, allocations: 495.2 kB / 0.5603 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001064/0.4188, allocations: 0.674 MB / 0.561 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00164/0.4204, allocations: 0.5911 MB / 0.5616 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003907/0.4243, allocations: 1.833 MB / 0.5633 GB, free: 14.72 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.4243, allocations: 0 / 0.5633 GB, free: 14.72 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.4243, allocations: 0 / 0.5633 GB, free: 14.72 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001197/0.4244, allocations: 0 / 0.5633 GB, free: 14.72 MB / 414.1 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.005873/0.4303, allocations: 1.616 MB / 0.5649 GB, free: 13.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.829e-05/0.4304, allocations: 11.98 kB / 0.5649 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002671/0.433, allocations: 399.6 kB / 0.5653 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002517/0.4356, allocations: 0.8116 MB / 0.5661 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.84e-05/0.4357, allocations: 90.7 kB / 0.5662 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000488/0.4361, allocations: 160 kB / 0.5663 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003708/0.4399, allocations: 1.85 MB / 0.5682 GB, free: 9.543 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.095e-05/0.4399, allocations: 15.88 kB / 0.5682 GB, free: 9.527 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001646/0.4401, allocations: 48 kB / 0.5682 GB, free: 9.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003326/0.4404, allocations: 98.16 kB / 0.5683 GB, free: 9.383 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002989/0.4434, allocations: 1.48 MB / 0.5698 GB, free: 7.895 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01178/0.4552, allocations: 7.759 MB / 0.5773 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.4566, allocations: 0.6542 MB / 0.578 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007585/0.4573, allocations: 456.2 kB / 0.5784 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.313e-05/0.4574, allocations: 8.656 kB / 0.5784 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.337e-05/0.4574, allocations: 47.2 kB / 0.5785 GB, free: 14.64 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 3.136e-06/0.4574, allocations: 0 / 0.5785 GB, free: 14.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.00481/0.4622, allocations: 2.392 MB / 0.5808 GB, free: 12.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.308e-05/0.4623, allocations: 85.77 kB / 0.5809 GB, free: 12.11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.4635, allocations: 0.8207 MB / 0.5817 GB, free: 11.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.972e-05/0.4636, allocations: 37.7 kB / 0.5817 GB, free: 11.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006548/0.4642, allocations: 0.7099 MB / 0.5824 GB, free: 10.51 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000339/0.4646, allocations: 317.3 kB / 0.5827 GB, free: 10.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004348/0.465, allocations: 263.4 kB / 0.583 GB, free: 9.938 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002547/0.4653, allocations: 410.7 kB / 0.5834 GB, free: 9.527 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008256/0.4661, allocations: 451.8 kB / 0.5838 GB, free: 9.086 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001354/0.4674, allocations: 1.008 MB / 0.5848 GB, free: 7.828 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002334/0.4698, allocations: 1.585 MB / 0.5863 GB, free: 5.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.954e-05/0.4698, allocations: 8 kB / 0.5863 GB, free: 5.973 MB / 430.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003556/0.4734, allocations: 1.753 MB / 0.588 GB, free: 4.207 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.831e-05/0.4734, allocations: 22.73 kB / 0.5881 GB, free: 4.188 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001909/0.4753, allocations: 0.9773 MB / 0.589 GB, free: 3.199 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009569/0.4763, allocations: 250.9 kB / 0.5893 GB, free: 2.945 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.4774, allocations: 307.5 kB / 0.5895 GB, free: 2.645 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005572/0.4829, allocations: 4.774 MB / 0.5942 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/0.484, allocations: 56.17 kB / 0.5943 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002164/0.4842, allocations: 75.98 kB / 0.5943 GB, free: 13.43 MB / 446.1 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.0009524/0.4852, allocations: 429 kB / 0.5947 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002683/0.4854, allocations: 99.34 kB / 0.5948 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00184/0.4873, allocations: 0.9566 MB / 0.5958 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.4873, allocations: 12 kB / 0.5958 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.4873, allocations: 0 / 0.5958 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/0.4873, allocations: 3.984 kB / 0.5958 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004324/0.4916, allocations: 1.86 MB / 0.5976 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.697e-06/0.4916, allocations: 4 kB / 0.5976 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009368/0.4926, allocations: 183.8 kB / 0.5978 GB, free: 9.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.691e-05/0.4926, allocations: 7.938 kB / 0.5978 GB, free: 9.812 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-05/0.4926, allocations: 23.98 kB / 0.5978 GB, free: 9.789 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/0.4927, allocations: 4 kB / 0.5978 GB, free: 9.785 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/0.4927, allocations: 7.938 kB / 0.5978 GB, free: 9.777 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002219/0.4949, allocations: 1.395 MB / 0.5992 GB, free: 8.355 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003223/0.4952, allocations: 91.53 kB / 0.5993 GB, free: 8.266 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001986/0.4954, allocations: 39.73 kB / 0.5993 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005083/0.4959, allocations: 23.98 kB / 0.5993 GB, free: 8.203 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.496, allocations: 52.56 kB / 0.5994 GB, free: 8.152 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-05/0.4961, allocations: 23.98 kB / 0.5994 GB, free: 8.129 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008664/0.4969, allocations: 0.5146 MB / 0.5999 GB, free: 7.613 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4969, allocations: 0 / 0.5999 GB, free: 7.613 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001413/0.4984, allocations: 292 kB / 0.6002 GB, free: 7.328 MB / 446.1 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.0002214/0.4986, allocations: 127.1 kB / 0.6003 GB, free: 7.191 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002622/0.5012, allocations: 1.408 MB / 0.6017 GB, free: 5.746 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/0.5012, allocations: 4.625 kB / 0.6017 GB, free: 5.742 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006333/0.5018, allocations: 391.4 kB / 0.6021 GB, free: 5.359 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.5029, allocations: 177.8 kB / 0.6022 GB, free: 5.191 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005128/0.5081, allocations: 2.776 MB / 0.6049 GB, free: 2.359 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/0.5091, allocations: 0.6459 MB / 0.6056 GB, free: 1.676 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001085/0.5102, allocations: 416.5 kB / 0.606 GB, free: 1.266 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002803/0.5105, allocations: 83.42 kB / 0.606 GB, free: 1.184 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5105, allocations: 0 / 0.606 GB, free: 1.184 MB / 446.1 MB Notification: Performance of Templates: time 0.02545/0.5359, allocations: 12.31 MB / 0.6181 GB, free: 5.027 MB / 462.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.VoltageStability.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.815422365441918]