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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001982/0.001982, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002028/0.002028, allocations: 186 kB / 22.21 MB, free: 116 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1814/0.1814, allocations: 38.53 MB / 344.5 MB, free: 2.59 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002882/0.002882, allocations: 67.88 kB / 482.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3257, allocations: 61.24 MB / 0.5306 GB, free: 5.504 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.008507/0.3342, allocations: 9.094 MB / 0.5395 GB, free: 14.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00569/0.3399, allocations: 3.065 MB / 0.5425 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005634/0.3405, allocations: 33.5 kB / 0.5425 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002836/0.3433, allocations: 1.113 MB / 0.5436 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001641/0.345, allocations: 0.6311 MB / 0.5442 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002119/0.3471, allocations: 0.7236 MB / 0.5449 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002325/0.3494, allocations: 1.621 MB / 0.5465 GB, free: 9.605 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009887/0.3504, allocations: 0.6016 MB / 0.5471 GB, free: 9.207 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/0.3515, allocations: 0.7404 MB / 0.5478 GB, free: 8.773 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001368/0.3529, allocations: 1.013 MB / 0.5488 GB, free: 8.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001624/0.353, allocations: 104.6 kB / 0.5489 GB, free: 8.172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009781/0.354, allocations: 476.5 kB / 0.5493 GB, free: 7.977 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006855/0.3547, allocations: 0.6782 MB / 0.55 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007917/0.3555, allocations: 0.7083 MB / 0.5507 GB, free: 7.078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002121/0.3576, allocations: 1.793 MB / 0.5524 GB, free: 5.906 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3576, allocations: 4.75 kB / 0.5524 GB, free: 5.902 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3576, allocations: 3.938 kB / 0.5524 GB, free: 5.898 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.154e-05/0.3577, allocations: 4.875 kB / 0.5525 GB, free: 5.895 MB / 398.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.003145/0.3608, allocations: 1.679 MB / 0.5541 GB, free: 4.445 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.3608, allocations: 15.83 kB / 0.5541 GB, free: 4.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001644/0.3625, allocations: 283.7 kB / 0.5544 GB, free: 4.152 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/0.3641, allocations: 0.8916 MB / 0.5552 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.636e-05/0.3642, allocations: 86.7 kB / 0.5553 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003676/0.3646, allocations: 156 kB / 0.5555 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00284/0.3674, allocations: 1.854 MB / 0.5573 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.975e-05/0.3675, allocations: 7.938 kB / 0.5573 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/0.3676, allocations: 48 kB / 0.5573 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002853/0.3679, allocations: 98.16 kB / 0.5574 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00249/0.3704, allocations: 1.491 MB / 0.5589 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009477/0.3798, allocations: 8.278 MB / 0.567 GB, free: 6.676 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.3813, allocations: 1.115 MB / 0.5681 GB, free: 5.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000704/0.382, allocations: 449.2 kB / 0.5685 GB, free: 4.984 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.511e-05/0.382, allocations: 20.64 kB / 0.5685 GB, free: 4.965 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.3821, allocations: 51.09 kB / 0.5686 GB, free: 4.906 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 2.515e-06/0.3821, allocations: 0 / 0.5686 GB, free: 4.906 MB / 414.1 MB Notification: Performance of matching and sorting (n=83): time 0.004133/0.3862, allocations: 2.472 MB / 0.571 GB, free: 2.379 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.3863, allocations: 93.64 kB / 0.5711 GB, free: 2.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009794/0.3873, allocations: 0.8214 MB / 0.5719 GB, free: 1.438 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.991e-05/0.3873, allocations: 41.7 kB / 0.5719 GB, free: 1.391 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005678/0.3879, allocations: 0.6982 MB / 0.5726 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002631/0.3882, allocations: 317.4 kB / 0.5729 GB, free: 380 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003527/0.3885, allocations: 255.4 kB / 0.5731 GB, free: 120 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002361/0.3887, allocations: 414.7 kB / 0.5735 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007321/0.3895, allocations: 459.7 kB / 0.574 GB, free: 15.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/0.3906, allocations: 0.9968 MB / 0.5749 GB, free: 14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002059/0.3927, allocations: 1.589 MB / 0.5765 GB, free: 12.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.3927, allocations: 4 kB / 0.5765 GB, free: 12.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003237/0.3959, allocations: 1.768 MB / 0.5782 GB, free: 10.37 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.396, allocations: 12 kB / 0.5782 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001851/0.3978, allocations: 0.9857 MB / 0.5792 GB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008885/0.3987, allocations: 242.3 kB / 0.5794 GB, free: 9.113 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.3997, allocations: 315.5 kB / 0.5797 GB, free: 8.805 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005409/0.4051, allocations: 5.184 MB / 0.5848 GB, free: 3.203 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.4062, allocations: 51.94 kB / 0.5848 GB, free: 3.152 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/0.4063, allocations: 71.98 kB / 0.5849 GB, free: 3.082 MB / 430.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.0009361/0.4072, allocations: 425.1 kB / 0.5853 GB, free: 2.656 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002739/0.4075, allocations: 103.3 kB / 0.5854 GB, free: 2.555 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00182/0.4093, allocations: 0.9571 MB / 0.5863 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.4093, allocations: 8 kB / 0.5864 GB, free: 1.582 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.4094, allocations: 7.922 kB / 0.5864 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.4094, allocations: 3.984 kB / 0.5864 GB, free: 1.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004526/0.4139, allocations: 2.118 MB / 0.5884 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.4139, allocations: 8.172 kB / 0.5884 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008984/0.4148, allocations: 183.9 kB / 0.5886 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.076e-05/0.4148, allocations: 4 kB / 0.5886 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.936e-05/0.4149, allocations: 27.97 kB / 0.5887 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.004e-05/0.4149, allocations: 11.94 kB / 0.5887 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.4149, allocations: 4 kB / 0.5887 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002129/0.417, allocations: 1.414 MB / 0.59 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003784/0.4174, allocations: 168.4 kB / 0.5902 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.4175, allocations: 23.98 kB / 0.5902 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003953/0.4179, allocations: 23.98 kB / 0.5903 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.418, allocations: 64.55 kB / 0.5903 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.036e-05/0.4181, allocations: 24 kB / 0.5903 GB, free: 13.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008633/0.419, allocations: 0.5419 MB / 0.5909 GB, free: 12.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.419, allocations: 0 / 0.5909 GB, free: 12.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001435/0.4204, allocations: 296 kB / 0.5911 GB, free: 12.54 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.0002471/0.4206, allocations: 127.1 kB / 0.5913 GB, free: 12.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002792/0.4234, allocations: 1.404 MB / 0.5926 GB, free: 10.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.29e-05/0.4235, allocations: 4 kB / 0.5926 GB, free: 10.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006317/0.4241, allocations: 383.6 kB / 0.593 GB, free: 10.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.4251, allocations: 187.3 kB / 0.5932 GB, free: 10.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00516/0.4303, allocations: 2.765 MB / 0.5959 GB, free: 7.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.4313, allocations: 1.251 MB / 0.5971 GB, free: 6.305 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001144/0.4325, allocations: 420.7 kB / 0.5975 GB, free: 5.891 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002408/0.4327, allocations: 79.42 kB / 0.5976 GB, free: 5.812 MB / 446.1 MB Notification: Performance of SimCode: time 1.663e-06/0.4327, allocations: 7.938 kB / 0.5976 GB, free: 5.805 MB / 446.1 MB Notification: Performance of Templates: time 0.02311/0.4558, allocations: 11.66 MB / 0.609 GB, free: 10.21 MB / 462.1 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=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.264689882285893]