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.001229/0.001229, allocations: 114.6 kB / 17.07 MB, free: 5.988 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.001184/0.001184, allocations: 194.8 kB / 18 MB, free: 5.07 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.389/1.389, allocations: 222.9 MB / 241.7 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.1717/0.1717, allocations: 38.04 MB / 329.9 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 59.91 kB / 458.2 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3842, allocations: 58.05 MB / 0.5041 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.008406/0.3927, allocations: 8.925 MB / 0.5128 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005404/0.3981, allocations: 3.037 MB / 0.5158 GB, free: 15.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.3992, allocations: 33.25 kB / 0.5158 GB, free: 15.37 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002961/0.4023, allocations: 1.078 MB / 0.5169 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002021/0.4043, allocations: 0.6243 MB / 0.5175 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002359/0.4067, allocations: 0.723 MB / 0.5182 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002881/0.4096, allocations: 1.63 MB / 0.5198 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001413/0.411, allocations: 0.9025 MB / 0.5207 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001492/0.4125, allocations: 0.7317 MB / 0.5214 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001288/0.4138, allocations: 0.9398 MB / 0.5223 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001781/0.414, allocations: 104.9 kB / 0.5224 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009896/0.415, allocations: 457.1 kB / 0.5228 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007081/0.4157, allocations: 0.6635 MB / 0.5235 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007525/0.4165, allocations: 0.709 MB / 0.5242 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002102/0.4186, allocations: 1.787 MB / 0.5259 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4186, allocations: 1.75 kB / 0.5259 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4186, allocations: 4 kB / 0.5259 GB, free: 10.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.223e-05/0.4186, allocations: 0 / 0.5259 GB, free: 10.85 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.003065/0.4217, allocations: 1.646 MB / 0.5275 GB, free: 9.816 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.4218, allocations: 14.58 kB / 0.5276 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00168/0.4235, allocations: 275.2 kB / 0.5278 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001775/0.4252, allocations: 0.8902 MB / 0.5287 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.731e-05/0.4253, allocations: 86.38 kB / 0.5288 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003433/0.4257, allocations: 153.2 kB / 0.5289 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002604/0.4283, allocations: 1.851 MB / 0.5307 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.939e-05/0.4283, allocations: 9.531 kB / 0.5307 GB, free: 7.863 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.4285, allocations: 49.64 kB / 0.5308 GB, free: 7.828 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000281/0.4287, allocations: 98.09 kB / 0.5309 GB, free: 7.805 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002288/0.431, allocations: 1.494 MB / 0.5323 GB, free: 7.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009059/0.4401, allocations: 8.262 MB / 0.5404 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/0.4415, allocations: 1.169 MB / 0.5415 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006777/0.4422, allocations: 488.4 kB / 0.542 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.346e-05/0.4423, allocations: 18.27 kB / 0.542 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.4423, allocations: 46.36 kB / 0.5421 GB, free: 14.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 3.276e-06/0.4423, allocations: 0 / 0.5421 GB, free: 14.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=83): time 0.004136/0.4465, allocations: 2.426 MB / 0.5444 GB, free: 13.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.4466, allocations: 97.88 kB / 0.5445 GB, free: 13.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009484/0.4475, allocations: 0.8221 MB / 0.5453 GB, free: 12.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.277e-05/0.4476, allocations: 41.58 kB / 0.5454 GB, free: 12.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004452/0.448, allocations: 0.6751 MB / 0.546 GB, free: 12.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000291/0.4483, allocations: 311.8 kB / 0.5463 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003311/0.4487, allocations: 254.1 kB / 0.5466 GB, free: 11.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002175/0.4489, allocations: 415.1 kB / 0.547 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006758/0.4496, allocations: 456.3 kB / 0.5474 GB, free: 11.15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.4506, allocations: 1.004 MB / 0.5484 GB, free: 10.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/0.4524, allocations: 1.588 MB / 0.5499 GB, free: 8.277 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.4524, allocations: 4 kB / 0.5499 GB, free: 8.273 MB / 414.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003014/0.4554, allocations: 1.767 MB / 0.5517 GB, free: 6.488 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.4555, allocations: 12 kB / 0.5517 GB, free: 6.477 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001779/0.4573, allocations: 0.9937 MB / 0.5526 GB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008699/0.4581, allocations: 238.3 kB / 0.5529 GB, free: 5.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009967/0.4591, allocations: 319.5 kB / 0.5532 GB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004966/0.4641, allocations: 5.184 MB / 0.5582 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.4653, allocations: 47.98 kB / 0.5583 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.52e-05/0.4654, allocations: 75.92 kB / 0.5584 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.0007528/0.4662, allocations: 425.1 kB / 0.5588 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.4663, allocations: 102.8 kB / 0.5589 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/0.4678, allocations: 0.953 MB / 0.5598 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.4678, allocations: 8 kB / 0.5598 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4679, allocations: 3.938 kB / 0.5598 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.4679, allocations: 3.984 kB / 0.5598 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003727/0.4716, allocations: 2.122 MB / 0.5619 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.4716, allocations: 8.188 kB / 0.5619 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008466/0.4725, allocations: 183.7 kB / 0.5621 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.4725, allocations: 4.141 kB / 0.5621 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.312e-05/0.4726, allocations: 23.98 kB / 0.5621 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.4726, allocations: 8 kB / 0.5621 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4726, allocations: 0 / 0.5621 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.4743, allocations: 1.41 MB / 0.5635 GB, free: 9.824 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002457/0.4746, allocations: 159.9 kB / 0.5636 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.4747, allocations: 23.98 kB / 0.5636 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/0.4751, allocations: 31.98 kB / 0.5637 GB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.883e-05/0.4752, allocations: 56.55 kB / 0.5637 GB, free: 9.539 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.612e-05/0.4753, allocations: 20 kB / 0.5637 GB, free: 9.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000608/0.4759, allocations: 0.5458 MB / 0.5643 GB, free: 8.977 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4759, allocations: 0 / 0.5643 GB, free: 8.977 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001072/0.477, allocations: 292 kB / 0.5646 GB, free: 8.691 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.0001521/0.4771, allocations: 127.1 kB / 0.5647 GB, free: 8.555 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002058/0.4792, allocations: 1.471 MB / 0.5661 GB, free: 7.047 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4792, allocations: 4.062 kB / 0.5661 GB, free: 7.043 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005423/0.4797, allocations: 407.4 kB / 0.5665 GB, free: 6.641 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008522/0.4806, allocations: 187.9 kB / 0.5667 GB, free: 6.465 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003692/0.4843, allocations: 2.702 MB / 0.5693 GB, free: 3.711 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008127/0.4851, allocations: 1.247 MB / 0.5705 GB, free: 2.43 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008326/0.486, allocations: 416.7 kB / 0.5709 GB, free: 2.02 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.4862, allocations: 83.42 kB / 0.571 GB, free: 1.938 MB / 430.1 MB Notification: Performance of SimCode: time 6.82e-07/0.4862, allocations: 3.938 kB / 0.571 GB, free: 1.934 MB / 430.1 MB Notification: Performance of Templates: time 0.01852/0.5047, allocations: 11.08 MB / 0.5819 GB, free: 6.922 MB / 446.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/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) Reference file matches