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.0006663/0.0006663, allocations: 88.56 kB / 16.65 MB, free: 6.535 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.0008724/0.0008724, allocations: 173.5 kB / 17.56 MB, free: 6.184 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.292/1.292, allocations: 223.2 MB / 241.6 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1679/0.1679, allocations: 38.09 MB / 330.8 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003184, allocations: 8 kB / 400.8 MB, free: 34.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1019, allocations: 59.17 MB / 460 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.01081/0.1127, allocations: 10.46 MB / 470.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006973/0.1197, allocations: 3.669 MB / 474.1 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001307/0.1211, allocations: 75.5 kB / 474.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008809/0.122, allocations: 250.3 kB / 474.4 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001852/0.1238, allocations: 0.5834 MB / 475 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001727/0.1256, allocations: 0.6511 MB / 475.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002478/0.1281, allocations: 2.46 MB / 478.1 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002246/0.1303, allocations: 1.439 MB / 479.6 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001102/0.1315, allocations: 0.5793 MB / 480.2 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001503/0.133, allocations: 0.9268 MB / 481.1 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003631/0.1334, allocations: 52 kB / 481.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.1347, allocations: 447.2 kB / 481.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009164/0.1357, allocations: 0.6078 MB / 482.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001166/0.1368, allocations: 0.6584 MB / 482.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001871/0.1387, allocations: 1.701 MB / 484.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1387, allocations: 0 / 484.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1387, allocations: 0 / 484.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.708e-05/0.1388, allocations: 4 kB / 484.5 MB, free: 14.27 MB / 366.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.00239/0.1412, allocations: 1.385 MB / 485.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1412, allocations: 8.031 kB / 485.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000203/0.1414, allocations: 194.5 kB / 486.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001547/0.143, allocations: 274.9 kB / 486.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.1442, allocations: 0.8441 MB / 487.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.424e-05/0.1443, allocations: 90.64 kB / 487.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002977/0.1446, allocations: 155.8 kB / 487.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002299/0.1469, allocations: 1.846 MB / 489.3 MB, free: 9.195 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.736e-05/0.147, allocations: 11.94 kB / 489.3 MB, free: 9.184 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.1471, allocations: 55.97 kB / 489.4 MB, free: 9.129 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002896/0.1474, allocations: 94.16 kB / 489.5 MB, free: 9.035 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002088/0.1495, allocations: 1.491 MB / 491 MB, free: 7.535 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008596/0.1581, allocations: 8.304 MB / 499.3 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/0.1595, allocations: 1.163 MB / 0.4887 GB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006328/0.1602, allocations: 492.2 kB / 0.4892 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.693e-05/0.1602, allocations: 16.64 kB / 0.4892 GB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.1603, allocations: 43.22 kB / 0.4892 GB, free: 13.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 2.645e-06/0.1603, allocations: 3.938 kB / 0.4892 GB, free: 13.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=83): time 0.003637/0.1639, allocations: 2.429 MB / 0.4916 GB, free: 10.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.164, allocations: 93.83 kB / 0.4917 GB, free: 10.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008626/0.1649, allocations: 0.8251 MB / 0.4925 GB, free: 9.613 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.463e-05/0.1649, allocations: 41.64 kB / 0.4925 GB, free: 9.566 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004128/0.1654, allocations: 0.6803 MB / 0.4932 GB, free: 8.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/0.1656, allocations: 307.7 kB / 0.4935 GB, free: 8.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.1657, allocations: 125.6 kB / 0.4936 GB, free: 8.441 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.1659, allocations: 410.7 kB / 0.494 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006118/0.1665, allocations: 455.7 kB / 0.4944 GB, free: 7.586 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009581/0.1675, allocations: 1.005 MB / 0.4954 GB, free: 6.328 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001732/0.1692, allocations: 1.589 MB / 0.497 GB, free: 4.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.1692, allocations: 8 kB / 0.497 GB, free: 4.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.002898/0.1722, allocations: 1.764 MB / 0.4987 GB, free: 2.691 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.1722, allocations: 12 kB / 0.4987 GB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001667/0.1739, allocations: 0.992 MB / 0.4997 GB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008399/0.1747, allocations: 246.7 kB / 0.4999 GB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009945/0.1757, allocations: 307.5 kB / 0.5002 GB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1833/0.3591, allocations: 4.794 MB / 0.5049 GB, free: 51.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.3602, allocations: 50.27 kB / 0.5049 GB, free: 51.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/0.3603, allocations: 73.95 kB / 0.505 GB, free: 51.68 MB / 382.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.0007542/0.3611, allocations: 428.3 kB / 0.5054 GB, free: 51.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.3612, allocations: 97.66 kB / 0.5055 GB, free: 51.56 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001737/0.363, allocations: 0.953 MB / 0.5065 GB, free: 51.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.363, allocations: 11.53 kB / 0.5065 GB, free: 51.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.363, allocations: 1.562 kB / 0.5065 GB, free: 51.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.363, allocations: 4.938 kB / 0.5065 GB, free: 51.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003528/0.3666, allocations: 2.13 MB / 0.5085 GB, free: 50.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.3666, allocations: 2.25 kB / 0.5086 GB, free: 50.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008551/0.3674, allocations: 186.4 kB / 0.5087 GB, free: 50.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.206e-06/0.3675, allocations: 7.781 kB / 0.5087 GB, free: 50.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.235e-05/0.3675, allocations: 27.81 kB / 0.5088 GB, free: 50.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.3675, allocations: 6.172 kB / 0.5088 GB, free: 50.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3675, allocations: 3.781 kB / 0.5088 GB, free: 50.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.3694, allocations: 1.405 MB / 0.5101 GB, free: 50.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001941/0.3696, allocations: 166.3 kB / 0.5103 GB, free: 50.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.3697, allocations: 22.72 kB / 0.5103 GB, free: 50.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003888/0.3701, allocations: 31.39 kB / 0.5104 GB, free: 50.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.3702, allocations: 51.97 kB / 0.5104 GB, free: 50.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.976e-05/0.3702, allocations: 27.09 kB / 0.5104 GB, free: 50.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006623/0.3709, allocations: 0.5387 MB / 0.511 GB, free: 49.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3709, allocations: 2.406 kB / 0.511 GB, free: 49.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00111/0.372, allocations: 299.8 kB / 0.5112 GB, free: 49.84 MB / 382.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.001989/0.374, allocations: 1.965 MB / 0.5132 GB, free: 48.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002909/0.377, allocations: 1.46 MB / 0.5146 GB, free: 47.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.377, allocations: 1.031 kB / 0.5146 GB, free: 47.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006176/0.3776, allocations: 410.9 kB / 0.515 GB, free: 47.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.3788, allocations: 171.6 kB / 0.5151 GB, free: 47.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01413/0.3929, allocations: 11.29 MB / 0.5262 GB, free: 40.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000668/0.3936, allocations: 1.259 MB / 0.5274 GB, free: 40.01 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009655/0.3946, allocations: 424.8 kB / 0.5278 GB, free: 39.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004484/0.3951, allocations: 469.3 kB / 0.5283 GB, free: 39.61 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3951, allocations: 0 / 0.5283 GB, free: 39.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02976/0.4249, allocations: 19.68 MB / 0.5475 GB, free: 21.58 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001431/0.425, allocations: 234.9 kB / 0.5477 GB, free: 21.33 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.116/2.541, allocations: 8 kB / 0.5477 GB, free: 21.32 MB / 382.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","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches