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.001369/0.001369, allocations: 108 kB / 20.43 MB, free: 1.473 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.001361/0.001361, allocations: 185.7 kB / 23.71 MB, free: 4.711 MB / 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.424/1.424, allocations: 225.6 MB / 252.5 MB, free: 13.03 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.1836/0.1836, allocations: 38.55 MB / 346.3 MB, free: 2.125 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.001985/0.001985, allocations: 71.89 kB / 484.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3299, allocations: 61.29 MB / 0.533 GB, free: 5.582 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.008885/0.3388, allocations: 9.13 MB / 0.542 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006135/0.345, allocations: 3.068 MB / 0.545 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006542/0.3456, allocations: 45.53 kB / 0.545 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002964/0.3486, allocations: 1.111 MB / 0.5461 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001679/0.3503, allocations: 0.6358 MB / 0.5467 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002085/0.3523, allocations: 0.7311 MB / 0.5474 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002332/0.3547, allocations: 1.63 MB / 0.549 GB, free: 9.402 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009714/0.3557, allocations: 0.6021 MB / 0.5496 GB, free: 9.004 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001186/0.3568, allocations: 0.7445 MB / 0.5503 GB, free: 8.574 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001412/0.3583, allocations: 1.016 MB / 0.5513 GB, free: 7.973 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001956/0.3584, allocations: 103.5 kB / 0.5514 GB, free: 7.973 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.3597, allocations: 497.3 kB / 0.5519 GB, free: 7.762 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007489/0.3604, allocations: 0.6718 MB / 0.5525 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008813/0.3613, allocations: 0.7082 MB / 0.5532 GB, free: 6.871 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002496/0.3638, allocations: 1.806 MB / 0.555 GB, free: 5.598 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3638, allocations: 4 kB / 0.555 GB, free: 5.594 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3638, allocations: 0 / 0.555 GB, free: 5.594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.181e-05/0.3638, allocations: 0 / 0.555 GB, free: 5.594 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.003426/0.3672, allocations: 1.6 MB / 0.5566 GB, free: 3.953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.3673, allocations: 16.02 kB / 0.5566 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/0.369, allocations: 279.8 kB / 0.5569 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001931/0.3709, allocations: 0.8155 MB / 0.5576 GB, free: 2.816 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-05/0.371, allocations: 86.72 kB / 0.5577 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000406/0.3714, allocations: 160 kB / 0.5579 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003267/0.3747, allocations: 1.85 MB / 0.5597 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.049e-05/0.3747, allocations: 11.88 kB / 0.5597 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.3749, allocations: 51.98 kB / 0.5598 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003199/0.3752, allocations: 98.16 kB / 0.5598 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002489/0.3777, allocations: 1.491 MB / 0.5613 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0104/0.3881, allocations: 8.187 MB / 0.5693 GB, free: 6.371 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.3894, allocations: 0.656 MB / 0.5699 GB, free: 5.703 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006966/0.3901, allocations: 459.9 kB / 0.5704 GB, free: 5.246 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.924e-05/0.3901, allocations: 24.62 kB / 0.5704 GB, free: 5.219 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.3902, allocations: 39.22 kB / 0.5704 GB, free: 5.172 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 4.338e-06/0.3902, allocations: 0 / 0.5704 GB, free: 5.172 MB / 414.1 MB Notification: Performance of matching and sorting (n=83): time 0.00424/0.3944, allocations: 2.389 MB / 0.5728 GB, free: 2.754 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.703e-05/0.3945, allocations: 97.83 kB / 0.5729 GB, free: 2.637 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.3956, allocations: 0.8214 MB / 0.5737 GB, free: 1.805 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.361e-05/0.3957, allocations: 41.7 kB / 0.5737 GB, free: 1.758 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005659/0.3963, allocations: 0.7059 MB / 0.5744 GB, free: 1.043 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002915/0.3966, allocations: 313.4 kB / 0.5747 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003613/0.3969, allocations: 263.4 kB / 0.5749 GB, free: 484 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002576/0.3972, allocations: 410.7 kB / 0.5753 GB, free: 64 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007676/0.3979, allocations: 451.8 kB / 0.5758 GB, free: 15.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/0.3992, allocations: 1.005 MB / 0.5767 GB, free: 14.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002181/0.4014, allocations: 1.589 MB / 0.5783 GB, free: 12.51 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/0.4014, allocations: 8 kB / 0.5783 GB, free: 12.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003295/0.4047, allocations: 1.76 MB / 0.58 GB, free: 10.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.4047, allocations: 12 kB / 0.58 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001862/0.4065, allocations: 0.9773 MB / 0.581 GB, free: 9.727 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009385/0.4075, allocations: 250.8 kB / 0.5812 GB, free: 9.473 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.4085, allocations: 307.5 kB / 0.5815 GB, free: 9.172 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005313/0.4139, allocations: 4.885 MB / 0.5863 GB, free: 3.945 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009188/0.4148, allocations: 59.88 kB / 0.5864 GB, free: 3.887 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/0.4149, allocations: 71.98 kB / 0.5864 GB, free: 3.816 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.0006981/0.4156, allocations: 429.1 kB / 0.5868 GB, free: 3.387 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/0.4158, allocations: 99.34 kB / 0.5869 GB, free: 3.289 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001642/0.4174, allocations: 0.9532 MB / 0.5879 GB, free: 2.324 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.4174, allocations: 8 kB / 0.5879 GB, free: 2.316 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.4174, allocations: 7.938 kB / 0.5879 GB, free: 2.309 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.4174, allocations: 3.984 kB / 0.5879 GB, free: 2.305 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003946/0.4214, allocations: 2.09 MB / 0.5899 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.4214, allocations: 0 / 0.5899 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009472/0.4223, allocations: 188 kB / 0.5901 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/0.4223, allocations: 8.078 kB / 0.5901 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.329e-05/0.4224, allocations: 27.98 kB / 0.5901 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/0.4224, allocations: 4 kB / 0.5901 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.4224, allocations: 3.938 kB / 0.5901 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/0.4245, allocations: 1.41 MB / 0.5915 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002432/0.4247, allocations: 99.28 kB / 0.5916 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.4248, allocations: 27.98 kB / 0.5916 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004179/0.4253, allocations: 23.98 kB / 0.5917 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.79e-05/0.4254, allocations: 56.5 kB / 0.5917 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.696e-05/0.4254, allocations: 27.98 kB / 0.5917 GB, free: 14.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007364/0.4262, allocations: 0.5419 MB / 0.5923 GB, free: 13.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4262, allocations: 0 / 0.5923 GB, free: 13.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001141/0.4273, allocations: 296 kB / 0.5925 GB, free: 13.42 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.0002059/0.4275, allocations: 119.2 kB / 0.5927 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002731/0.4302, allocations: 1.412 MB / 0.594 GB, free: 11.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.4302, allocations: 192 / 0.594 GB, free: 11.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006265/0.4309, allocations: 392 kB / 0.5944 GB, free: 11.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.4319, allocations: 177.5 kB / 0.5946 GB, free: 11.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00494/0.4368, allocations: 2.775 MB / 0.5973 GB, free: 8.465 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/0.4378, allocations: 1.247 MB / 0.5985 GB, free: 7.184 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0011/0.4389, allocations: 412.7 kB / 0.5989 GB, free: 6.777 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/0.4392, allocations: 83.42 kB / 0.599 GB, free: 6.695 MB / 446.1 MB Notification: Performance of SimCode: time 9.01e-07/0.4392, allocations: 0 / 0.599 GB, free: 6.695 MB / 446.1 MB Notification: Performance of Templates: time 0.02484/0.464, allocations: 12.14 MB / 0.6108 GB, free: 10.61 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.380158164538443]