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.001867/0.001867, allocations: 114.6 kB / 17.07 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.001849/0.001849, allocations: 189.4 kB / 18 MB, free: 5.098 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.431/1.431, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1878/0.1878, allocations: 38.05 MB / 329.9 MB, free: 8.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 63.89 kB / 457.7 MB, free: 7.363 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3328, allocations: 58.06 MB / 0.5036 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.009133/0.342, allocations: 8.92 MB / 0.5123 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006152/0.3482, allocations: 3.039 MB / 0.5153 GB, free: 15.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.3494, allocations: 33.69 kB / 0.5153 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003087/0.3525, allocations: 1.077 MB / 0.5164 GB, free: 14.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001871/0.3544, allocations: 0.6209 MB / 0.517 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002338/0.3568, allocations: 0.727 MB / 0.5177 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002811/0.3596, allocations: 1.63 MB / 0.5193 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/0.3611, allocations: 0.9064 MB / 0.5202 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001271/0.3624, allocations: 0.7296 MB / 0.5209 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001325/0.3637, allocations: 0.9366 MB / 0.5218 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001876/0.3639, allocations: 103.8 kB / 0.5219 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.3651, allocations: 452.5 kB / 0.5224 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008424/0.3659, allocations: 0.6675 MB / 0.523 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00088/0.3668, allocations: 0.7098 MB / 0.5237 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002592/0.3694, allocations: 1.799 MB / 0.5255 GB, free: 10.55 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3694, allocations: 1.156 kB / 0.5255 GB, free: 10.55 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3694, allocations: 0 / 0.5255 GB, free: 10.55 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.61e-05/0.3695, allocations: 0 / 0.5255 GB, free: 10.55 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.00371/0.3732, allocations: 1.684 MB / 0.5271 GB, free: 9.477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.638e-05/0.3733, allocations: 14.17 kB / 0.5271 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003118/0.3736, allocations: 196 kB / 0.5273 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001819/0.3754, allocations: 280.4 kB / 0.5276 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001808/0.3772, allocations: 0.8873 MB / 0.5284 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.434e-05/0.3773, allocations: 89.67 kB / 0.5285 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003343/0.3777, allocations: 154.3 kB / 0.5287 GB, free: 8.668 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002886/0.3806, allocations: 1.853 MB / 0.5305 GB, free: 7.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.581e-05/0.3806, allocations: 8.656 kB / 0.5305 GB, free: 7.516 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/0.3808, allocations: 53.91 kB / 0.5305 GB, free: 7.477 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002998/0.3811, allocations: 101.5 kB / 0.5306 GB, free: 7.449 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002436/0.3835, allocations: 1.49 MB / 0.5321 GB, free: 6.738 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009984/0.3935, allocations: 8.268 MB / 0.5402 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.3951, allocations: 1.166 MB / 0.5413 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007463/0.3959, allocations: 492.2 kB / 0.5418 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.423e-05/0.396, allocations: 22.48 kB / 0.5418 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.396, allocations: 42.88 kB / 0.5418 GB, free: 14.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 3.577e-06/0.396, allocations: 0 / 0.5418 GB, free: 14.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=83): time 0.00459/0.4006, allocations: 2.468 MB / 0.5442 GB, free: 12.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.303e-05/0.4007, allocations: 94.36 kB / 0.5443 GB, free: 12.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.402, allocations: 0.8215 MB / 0.5451 GB, free: 12.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.484e-05/0.4021, allocations: 36.45 kB / 0.5452 GB, free: 12.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006743/0.4027, allocations: 0.7065 MB / 0.5459 GB, free: 11.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003451/0.4031, allocations: 317.8 kB / 0.5462 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004216/0.4035, allocations: 260.9 kB / 0.5464 GB, free: 11.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000284/0.4038, allocations: 415.3 kB / 0.5468 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008153/0.4046, allocations: 448.6 kB / 0.5472 GB, free: 10.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/0.406, allocations: 1.007 MB / 0.5482 GB, free: 9.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002163/0.4082, allocations: 1.587 MB / 0.5498 GB, free: 8.031 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.317e-05/0.4082, allocations: 4 kB / 0.5498 GB, free: 8.027 MB / 414.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003406/0.4116, allocations: 1.772 MB / 0.5515 GB, free: 6.238 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/0.4117, allocations: 15.98 kB / 0.5515 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001837/0.4135, allocations: 0.9812 MB / 0.5525 GB, free: 5.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009081/0.4144, allocations: 250.8 kB / 0.5527 GB, free: 4.977 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.4155, allocations: 307.5 kB / 0.553 GB, free: 4.676 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005338/0.4208, allocations: 5.188 MB / 0.5581 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009987/0.4218, allocations: 59.94 kB / 0.5581 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.4219, allocations: 68 kB / 0.5582 GB, free: 14.95 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.0007834/0.4227, allocations: 425.1 kB / 0.5586 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.4229, allocations: 99.34 kB / 0.5587 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001625/0.4245, allocations: 0.9571 MB / 0.5596 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.4246, allocations: 11.94 kB / 0.5596 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.4246, allocations: 3.938 kB / 0.5596 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.4246, allocations: 11.92 kB / 0.5597 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003866/0.4285, allocations: 2.122 MB / 0.5617 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.4285, allocations: 4 kB / 0.5617 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008812/0.4294, allocations: 192 kB / 0.5619 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-06/0.4294, allocations: 4 kB / 0.5619 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.445e-05/0.4295, allocations: 27.98 kB / 0.5619 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.656e-06/0.4295, allocations: 4 kB / 0.5619 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.4295, allocations: 0 / 0.5619 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/0.4315, allocations: 1.414 MB / 0.5633 GB, free: 9.555 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002477/0.4317, allocations: 164.4 kB / 0.5635 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.4319, allocations: 27.98 kB / 0.5635 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004095/0.4323, allocations: 19.98 kB / 0.5635 GB, free: 9.328 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.4324, allocations: 60.56 kB / 0.5636 GB, free: 9.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.347e-05/0.4325, allocations: 27.98 kB / 0.5636 GB, free: 9.242 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007134/0.4332, allocations: 0.538 MB / 0.5641 GB, free: 8.707 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4332, allocations: 0 / 0.5641 GB, free: 8.707 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001171/0.4344, allocations: 292 kB / 0.5644 GB, free: 8.422 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.002525/0.4369, allocations: 1.98 MB / 0.5664 GB, free: 6.391 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00246/0.4394, allocations: 1.462 MB / 0.5678 GB, free: 4.895 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.4394, allocations: 0.625 kB / 0.5678 GB, free: 4.895 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006097/0.44, allocations: 419.4 kB / 0.5682 GB, free: 4.484 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.441, allocations: 184.7 kB / 0.5684 GB, free: 4.312 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01542/0.4565, allocations: 10.34 MB / 0.5785 GB, free: 9.285 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001201/0.4577, allocations: 1.247 MB / 0.5797 GB, free: 8.004 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00105/0.4588, allocations: 420.7 kB / 0.5801 GB, free: 7.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006437/0.4594, allocations: 467.3 kB / 0.5805 GB, free: 7.133 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4594, allocations: 3.938 kB / 0.5805 GB, free: 7.129 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05945/0.5189, allocations: 20.85 MB / 0.6009 GB, free: 2.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.49, allocations: 14.69 kB / 0.6009 GB, free: 2.488 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_VoltageStability_fmu --startTime=0 --stopTime=180 --timeout=50 --tolerance=1e-06 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.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