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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) 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=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 108.2 kB / 17.74 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 183.1 kB / 18.67 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1794/0.1794, allocations: 38.03 MB / 330.6 MB, free: 8.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 67.89 kB / 458.8 MB, free: 6.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3475, allocations: 58.06 MB / 0.5048 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.008226/0.3557, allocations: 8.919 MB / 0.5135 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005227/0.361, allocations: 3.041 MB / 0.5165 GB, free: 15.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009887/0.362, allocations: 32.88 kB / 0.5165 GB, free: 15.33 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003049/0.3651, allocations: 1.083 MB / 0.5175 GB, free: 14.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00209/0.3672, allocations: 0.6208 MB / 0.5181 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002321/0.3696, allocations: 0.727 MB / 0.5189 GB, free: 14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002866/0.3725, allocations: 1.622 MB / 0.5204 GB, free: 13.31 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/0.3738, allocations: 0.9033 MB / 0.5213 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001488/0.3753, allocations: 0.7435 MB / 0.522 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001448/0.3767, allocations: 0.9375 MB / 0.523 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001854/0.3769, allocations: 104.3 kB / 0.5231 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.3781, allocations: 456.9 kB / 0.5235 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007322/0.3788, allocations: 0.6662 MB / 0.5241 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008382/0.3797, allocations: 0.7052 MB / 0.5248 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00232/0.382, allocations: 1.789 MB / 0.5266 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.382, allocations: 1.438 kB / 0.5266 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.382, allocations: 0.6562 kB / 0.5266 GB, free: 10.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.811e-05/0.3821, allocations: 0 / 0.5266 GB, free: 10.82 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.00342/0.3855, allocations: 1.648 MB / 0.5282 GB, free: 9.781 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.3855, allocations: 13.44 kB / 0.5282 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001828/0.3874, allocations: 271 kB / 0.5285 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/0.3891, allocations: 0.8914 MB / 0.5293 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.637e-05/0.3892, allocations: 90.45 kB / 0.5294 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003239/0.3895, allocations: 148.4 kB / 0.5296 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002819/0.3923, allocations: 1.853 MB / 0.5314 GB, free: 7.887 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.107e-05/0.3924, allocations: 12.31 kB / 0.5314 GB, free: 7.879 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.3925, allocations: 50.12 kB / 0.5314 GB, free: 7.844 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003166/0.3928, allocations: 94.03 kB / 0.5315 GB, free: 7.824 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002349/0.3952, allocations: 1.494 MB / 0.533 GB, free: 7.109 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009051/0.4043, allocations: 8.262 MB / 0.5411 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.4057, allocations: 1.166 MB / 0.5422 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007775/0.4065, allocations: 488.2 kB / 0.5427 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.572e-05/0.4066, allocations: 21.77 kB / 0.5427 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.4066, allocations: 42.41 kB / 0.5427 GB, free: 14.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 4.508e-06/0.4067, allocations: 1.594 kB / 0.5427 GB, free: 14.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=83): time 0.004416/0.4111, allocations: 2.429 MB / 0.5451 GB, free: 13.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.139e-05/0.4112, allocations: 94.27 kB / 0.5452 GB, free: 13.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.4122, allocations: 0.8229 MB / 0.546 GB, free: 12.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.006e-05/0.4123, allocations: 39.7 kB / 0.546 GB, free: 12.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004532/0.4128, allocations: 0.6833 MB / 0.5467 GB, free: 12.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002638/0.413, allocations: 308.7 kB / 0.547 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003358/0.4134, allocations: 258.2 kB / 0.5472 GB, free: 11.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.4136, allocations: 410.8 kB / 0.5476 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006769/0.4143, allocations: 456.4 kB / 0.5481 GB, free: 11.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/0.4154, allocations: 1.005 MB / 0.549 GB, free: 10.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001867/0.4172, allocations: 1.585 MB / 0.5506 GB, free: 8.281 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.225e-05/0.4173, allocations: 8 kB / 0.5506 GB, free: 8.273 MB / 414.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003034/0.4203, allocations: 1.768 MB / 0.5523 GB, free: 6.488 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.4203, allocations: 16 kB / 0.5523 GB, free: 6.473 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001665/0.422, allocations: 0.9812 MB / 0.5533 GB, free: 5.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008869/0.4229, allocations: 246.7 kB / 0.5535 GB, free: 5.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.424, allocations: 315.5 kB / 0.5538 GB, free: 4.922 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0047/0.4287, allocations: 5.18 MB / 0.5589 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.4298, allocations: 56.05 kB / 0.5589 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/0.43, allocations: 68 kB / 0.559 GB, free: 15.2 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.0008077/0.4308, allocations: 429.1 kB / 0.5594 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/0.431, allocations: 94.78 kB / 0.5595 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001528/0.4325, allocations: 0.957 MB / 0.5604 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.4325, allocations: 8 kB / 0.5604 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.4326, allocations: 7.938 kB / 0.5605 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.4326, allocations: 7.969 kB / 0.5605 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003697/0.4363, allocations: 2.118 MB / 0.5625 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.4363, allocations: 0 / 0.5625 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008952/0.4372, allocations: 191.9 kB / 0.5627 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.181e-05/0.4372, allocations: 12 kB / 0.5627 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.358e-05/0.4373, allocations: 27.92 kB / 0.5628 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.346e-06/0.4373, allocations: 4 kB / 0.5628 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.4373, allocations: 4 kB / 0.5628 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/0.4392, allocations: 1.406 MB / 0.5641 GB, free: 9.82 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002623/0.4395, allocations: 159.9 kB / 0.5643 GB, free: 9.645 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.4396, allocations: 23.98 kB / 0.5643 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004218/0.4401, allocations: 24.12 kB / 0.5643 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.919e-05/0.4402, allocations: 64.53 kB / 0.5644 GB, free: 9.535 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-05/0.4402, allocations: 28 kB / 0.5644 GB, free: 9.508 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006806/0.4409, allocations: 0.538 MB / 0.5649 GB, free: 8.973 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4409, allocations: 0 / 0.5649 GB, free: 8.973 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001143/0.4421, allocations: 296 kB / 0.5652 GB, free: 8.684 MB / 430.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.000172/0.4423, allocations: 127.1 kB / 0.5653 GB, free: 8.547 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002204/0.4445, allocations: 1.463 MB / 0.5668 GB, free: 7.047 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.4445, allocations: 0 / 0.5668 GB, free: 7.047 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005625/0.4451, allocations: 416 kB / 0.5672 GB, free: 6.637 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.4461, allocations: 183.7 kB / 0.5673 GB, free: 6.465 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004123/0.4502, allocations: 2.805 MB / 0.5701 GB, free: 3.602 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008613/0.4511, allocations: 1.239 MB / 0.5713 GB, free: 2.328 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003222/0.4515, allocations: 99.41 kB / 0.5714 GB, free: 2.23 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4515, allocations: 0 / 0.5714 GB, free: 2.23 MB / 430.1 MB Notification: Performance of Templates: time 0.02852/0.48, allocations: 20.43 MB / 0.5913 GB, free: 13.79 MB / 462.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.makefile (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) 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) Reference file matches