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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_VoltageStability",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_VoltageStability",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 105.3 kB / 17.06 MB, free: 6.016 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.001946/0.001946, allocations: 191 kB / 18 MB, free: 5.102 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.33/1.33, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1779/0.1779, allocations: 38.05 MB / 329.9 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 63.84 kB / 457.7 MB, free: 7.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3485, allocations: 58.06 MB / 0.5036 GB, free: 7.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.008325/0.3569, allocations: 8.918 MB / 0.5123 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00521/0.3621, allocations: 3.039 MB / 0.5153 GB, free: 15.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000609/0.3627, allocations: 33.09 kB / 0.5153 GB, free: 15.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002974/0.3658, allocations: 1.078 MB / 0.5164 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002173/0.368, allocations: 0.6302 MB / 0.517 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002186/0.3702, allocations: 0.7244 MB / 0.5177 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002696/0.3729, allocations: 1.636 MB / 0.5193 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001406/0.3743, allocations: 0.8968 MB / 0.5202 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001392/0.3757, allocations: 0.7398 MB / 0.5209 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001325/0.377, allocations: 0.9412 MB / 0.5218 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001672/0.3772, allocations: 107.6 kB / 0.5219 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009931/0.3782, allocations: 453.6 kB / 0.5224 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007199/0.3789, allocations: 0.6636 MB / 0.523 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000805/0.3798, allocations: 0.7086 MB / 0.5237 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00324/0.383, allocations: 1.799 MB / 0.5255 GB, free: 10.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.383, allocations: 0.7031 kB / 0.5255 GB, free: 10.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.383, allocations: 0 / 0.5255 GB, free: 10.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.16e-05/0.3831, allocations: 1.406 kB / 0.5255 GB, free: 10.48 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.003764/0.3869, allocations: 1.68 MB / 0.5271 GB, free: 9.414 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.3869, allocations: 8.969 kB / 0.5271 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002822/0.3872, allocations: 192.8 kB / 0.5273 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001821/0.389, allocations: 283.7 kB / 0.5276 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00185/0.3909, allocations: 0.896 MB / 0.5284 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.322e-05/0.391, allocations: 89.3 kB / 0.5285 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003487/0.3913, allocations: 153 kB / 0.5287 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002727/0.3941, allocations: 1.851 MB / 0.5305 GB, free: 7.488 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.172e-05/0.3941, allocations: 12.75 kB / 0.5305 GB, free: 7.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.3943, allocations: 50.38 kB / 0.5305 GB, free: 7.445 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002876/0.3946, allocations: 98.83 kB / 0.5306 GB, free: 7.422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002395/0.397, allocations: 1.489 MB / 0.5321 GB, free: 6.711 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009398/0.4064, allocations: 8.276 MB / 0.5402 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.4078, allocations: 1.162 MB / 0.5413 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007037/0.4085, allocations: 488.8 kB / 0.5418 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.769e-05/0.4086, allocations: 24.98 kB / 0.5418 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.4087, allocations: 47.5 kB / 0.5418 GB, free: 14.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 3.487e-06/0.4087, allocations: 0 / 0.5418 GB, free: 14.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=83): time 0.004288/0.413, allocations: 2.459 MB / 0.5442 GB, free: 12.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.569e-05/0.4131, allocations: 91.33 kB / 0.5443 GB, free: 12.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.4142, allocations: 0.8258 MB / 0.5451 GB, free: 12.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.329e-05/0.4143, allocations: 48.25 kB / 0.5452 GB, free: 12.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000567/0.4149, allocations: 0.6983 MB / 0.5459 GB, free: 11.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000328/0.4152, allocations: 322 kB / 0.5462 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004119/0.4156, allocations: 257.4 kB / 0.5464 GB, free: 11.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002791/0.4159, allocations: 411 kB / 0.5468 GB, free: 10.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006944/0.4166, allocations: 452.3 kB / 0.5472 GB, free: 10.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/0.4178, allocations: 1.004 MB / 0.5482 GB, free: 9.742 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001883/0.4197, allocations: 1.592 MB / 0.5498 GB, free: 8.008 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.4197, allocations: 4 kB / 0.5498 GB, free: 8.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.00304/0.4227, allocations: 1.772 MB / 0.5515 GB, free: 6.215 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.4228, allocations: 12 kB / 0.5515 GB, free: 6.203 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001625/0.4244, allocations: 0.989 MB / 0.5525 GB, free: 5.203 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008526/0.4253, allocations: 242.7 kB / 0.5527 GB, free: 4.957 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009602/0.4262, allocations: 311.5 kB / 0.553 GB, free: 4.652 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004551/0.4308, allocations: 5.184 MB / 0.5581 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.4318, allocations: 56 kB / 0.5581 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.432, allocations: 71.98 kB / 0.5582 GB, free: 14.93 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.000762/0.4327, allocations: 433.1 kB / 0.5586 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/0.4329, allocations: 99.34 kB / 0.5587 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001552/0.4345, allocations: 0.957 MB / 0.5596 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.4345, allocations: 11.94 kB / 0.5597 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.4345, allocations: 3.938 kB / 0.5597 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.4345, allocations: 3.984 kB / 0.5597 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00391/0.4384, allocations: 2.126 MB / 0.5617 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.4385, allocations: 4 kB / 0.5617 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008636/0.4393, allocations: 180 kB / 0.5619 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-05/0.4394, allocations: 8 kB / 0.5619 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.338e-05/0.4394, allocations: 27.98 kB / 0.562 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.055e-05/0.4394, allocations: 8 kB / 0.562 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4395, allocations: 0 / 0.562 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/0.4413, allocations: 1.418 MB / 0.5633 GB, free: 9.531 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002924/0.4416, allocations: 168.4 kB / 0.5635 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/0.4418, allocations: 20 kB / 0.5635 GB, free: 9.328 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004467/0.4423, allocations: 27.98 kB / 0.5635 GB, free: 9.301 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.676e-05/0.4424, allocations: 60.55 kB / 0.5636 GB, free: 9.242 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.171e-05/0.4424, allocations: 24 kB / 0.5636 GB, free: 9.219 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006879/0.4431, allocations: 0.5419 MB / 0.5642 GB, free: 8.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4431, allocations: 0 / 0.5642 GB, free: 8.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001201/0.4443, allocations: 296 kB / 0.5644 GB, free: 8.391 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.002066/0.4464, allocations: 1.969 MB / 0.5664 GB, free: 6.367 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002335/0.4488, allocations: 1.467 MB / 0.5678 GB, free: 4.867 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.4488, allocations: 0 / 0.5678 GB, free: 4.867 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000595/0.4494, allocations: 412 kB / 0.5682 GB, free: 4.465 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.4506, allocations: 189.9 kB / 0.5684 GB, free: 4.285 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01541/0.466, allocations: 10.34 MB / 0.5785 GB, free: 9.258 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/0.4672, allocations: 1.243 MB / 0.5797 GB, free: 7.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001004/0.4682, allocations: 424.7 kB / 0.5801 GB, free: 7.562 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007034/0.4689, allocations: 467.3 kB / 0.5805 GB, free: 7.105 MB / 446.1 MB Notification: Performance of SimCode: time 1.142e-06/0.4689, allocations: 3.938 kB / 0.5805 GB, free: 7.102 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05051/0.5194, allocations: 20.86 MB / 0.6009 GB, free: 2.48 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.85, allocations: 16 kB / 0.6009 GB, free: 2.465 MB / 462.1 MB (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 & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability_res.csv --start-time 0 --stop-time 180 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.18 PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_VoltageStability.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability_res.csv","/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