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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 104.6 kB / 19.61 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 191.8 kB / 22.76 MB, free: 5.48 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 225.6 MB / 251.4 MB, free: 13.44 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.183/0.183, allocations: 38.52 MB / 345 MB, free: 2.664 MB / 270.1 MB [Timeout remaining time 90] 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.002183/0.002183, allocations: 71.89 kB / 482.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3188, allocations: 61.24 MB / 0.531 GB, free: 5.457 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.008796/0.3276, allocations: 9.057 MB / 0.5398 GB, free: 14.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005895/0.3335, allocations: 3.053 MB / 0.5428 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008457/0.3343, allocations: 33.56 kB / 0.5428 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002887/0.3372, allocations: 1.093 MB / 0.5439 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002002/0.3392, allocations: 0.6349 MB / 0.5445 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002202/0.3414, allocations: 0.7226 MB / 0.5452 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00247/0.3439, allocations: 1.63 MB / 0.5468 GB, free: 9.613 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001208/0.3451, allocations: 0.699 MB / 0.5475 GB, free: 9.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001471/0.3466, allocations: 0.7402 MB / 0.5482 GB, free: 8.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001591/0.3482, allocations: 1.001 MB / 0.5492 GB, free: 8.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00018/0.3483, allocations: 104.3 kB / 0.5493 GB, free: 8.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.3494, allocations: 487.5 kB / 0.5497 GB, free: 7.973 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007081/0.3501, allocations: 0.6756 MB / 0.5504 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008734/0.351, allocations: 0.7122 MB / 0.5511 GB, free: 7.074 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002351/0.3533, allocations: 1.793 MB / 0.5529 GB, free: 5.902 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3533, allocations: 1.125 kB / 0.5529 GB, free: 5.902 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3533, allocations: 3.938 kB / 0.5529 GB, free: 5.898 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.952e-05/0.3534, allocations: 0 / 0.5529 GB, free: 5.898 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.003467/0.3568, allocations: 1.678 MB / 0.5545 GB, free: 4.453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.3569, allocations: 19.89 kB / 0.5545 GB, free: 4.434 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00178/0.3586, allocations: 279.7 kB / 0.5548 GB, free: 4.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/0.3605, allocations: 0.8916 MB / 0.5557 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.829e-05/0.3606, allocations: 86.72 kB / 0.5557 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003722/0.361, allocations: 156 kB / 0.5559 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003/0.364, allocations: 1.85 MB / 0.5577 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.113e-05/0.364, allocations: 11.88 kB / 0.5577 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/0.3641, allocations: 55.92 kB / 0.5578 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003082/0.3644, allocations: 98.16 kB / 0.5579 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002606/0.3671, allocations: 1.491 MB / 0.5593 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01023/0.3773, allocations: 8.274 MB / 0.5674 GB, free: 6.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/0.3788, allocations: 1.118 MB / 0.5685 GB, free: 5.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000707/0.3796, allocations: 453.2 kB / 0.5689 GB, free: 4.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.616e-05/0.3796, allocations: 12.64 kB / 0.5689 GB, free: 4.969 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.3797, allocations: 51.14 kB / 0.569 GB, free: 4.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 2.705e-06/0.3797, allocations: 4 kB / 0.569 GB, free: 4.906 MB / 414.1 MB Notification: Performance of matching and sorting (n=83): time 0.004297/0.384, allocations: 2.464 MB / 0.5714 GB, free: 2.387 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.384, allocations: 89.7 kB / 0.5715 GB, free: 2.281 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.3851, allocations: 0.8253 MB / 0.5723 GB, free: 1.445 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.79e-05/0.3851, allocations: 33.7 kB / 0.5723 GB, free: 1.406 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005571/0.3857, allocations: 0.7022 MB / 0.573 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002971/0.386, allocations: 325.4 kB / 0.5733 GB, free: 384 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003547/0.3864, allocations: 255.5 kB / 0.5735 GB, free: 124 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002529/0.3866, allocations: 414.7 kB / 0.5739 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007212/0.3873, allocations: 451.7 kB / 0.5744 GB, free: 15.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.3885, allocations: 1.005 MB / 0.5754 GB, free: 14.01 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002189/0.3907, allocations: 1.588 MB / 0.5769 GB, free: 12.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.186e-05/0.3907, allocations: 8 kB / 0.5769 GB, free: 12.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003388/0.3941, allocations: 1.753 MB / 0.5786 GB, free: 10.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.3942, allocations: 16.25 kB / 0.5786 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001829/0.396, allocations: 0.9812 MB / 0.5796 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009259/0.3969, allocations: 250.3 kB / 0.5798 GB, free: 9.121 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.3981, allocations: 311.5 kB / 0.5801 GB, free: 8.816 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005483/0.4035, allocations: 5.184 MB / 0.5852 GB, free: 3.215 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.4046, allocations: 55.94 kB / 0.5852 GB, free: 3.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/0.4047, allocations: 71.98 kB / 0.5853 GB, free: 3.09 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.0007806/0.4055, allocations: 437.2 kB / 0.5857 GB, free: 2.652 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.4057, allocations: 99.34 kB / 0.5858 GB, free: 2.555 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001761/0.4074, allocations: 0.9569 MB / 0.5868 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.4075, allocations: 8 kB / 0.5868 GB, free: 1.582 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.4075, allocations: 7.938 kB / 0.5868 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.4075, allocations: 11.92 kB / 0.5868 GB, free: 1.562 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004358/0.4118, allocations: 2.114 MB / 0.5889 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.4118, allocations: 0 / 0.5889 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009356/0.4128, allocations: 183.8 kB / 0.589 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.516e-05/0.4128, allocations: 8 kB / 0.589 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.646e-05/0.4129, allocations: 23.98 kB / 0.5891 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/0.4129, allocations: 7.938 kB / 0.5891 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.4129, allocations: 12.12 kB / 0.5891 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002205/0.4151, allocations: 1.41 MB / 0.5905 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003519/0.4154, allocations: 172.4 kB / 0.5906 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001675/0.4156, allocations: 20 kB / 0.5906 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004787/0.4161, allocations: 23.98 kB / 0.5907 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.4162, allocations: 52.52 kB / 0.5907 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.607e-05/0.4162, allocations: 28 kB / 0.5907 GB, free: 13.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008635/0.4171, allocations: 0.538 MB / 0.5913 GB, free: 12.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4171, allocations: 4 kB / 0.5913 GB, free: 12.85 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00126/0.4184, allocations: 296 kB / 0.5916 GB, free: 12.56 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.0001984/0.4186, allocations: 127.1 kB / 0.5917 GB, free: 12.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002725/0.4213, allocations: 1.411 MB / 0.5931 GB, free: 10.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.4213, allocations: 0 / 0.5931 GB, free: 10.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006337/0.4219, allocations: 385 kB / 0.5934 GB, free: 10.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.4231, allocations: 181.7 kB / 0.5936 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005377/0.4285, allocations: 2.88 MB / 0.5964 GB, free: 7.484 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/0.4298, allocations: 1.247 MB / 0.5976 GB, free: 6.203 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003951/0.4301, allocations: 95.42 kB / 0.5977 GB, free: 6.109 MB / 446.1 MB Notification: Performance of SimCode: time 1.233e-06/0.4301, allocations: 0 / 0.5977 GB, free: 6.109 MB / 446.1 MB Notification: Performance of Templates: time 0.03114/0.4613, allocations: 20.62 MB / 0.6179 GB, free: 1.465 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.VoltageStability.mat","/var/lib/jenkins1/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