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.001378/0.001378, allocations: 110.6 kB / 16.62 MB, free: 6.961 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.001458/0.001458, allocations: 190 kB / 17.54 MB, free: 6.066 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.287/1.287, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1736/0.1736, allocations: 38.04 MB / 329.4 MB, free: 9.078 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 65.11 kB / 398.4 MB, free: 34.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09586/0.09734, allocations: 58.07 MB / 456.5 MB, free: 8.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.01033/0.1077, allocations: 10.98 MB / 467.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006333/0.1141, allocations: 3.653 MB / 471.1 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/0.1154, allocations: 79.5 kB / 471.2 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002651/0.1181, allocations: 1.023 MB / 472.2 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001562/0.1197, allocations: 0.5757 MB / 472.8 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.1214, allocations: 0.6629 MB / 473.4 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001901/0.1233, allocations: 1.625 MB / 475.1 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001323/0.1247, allocations: 0.9794 MB / 476 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001444/0.1261, allocations: 0.7198 MB / 476.8 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001637/0.1278, allocations: 1.009 MB / 477.8 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003202/0.1281, allocations: 104 kB / 477.9 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.1291, allocations: 459.3 kB / 478.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007236/0.1299, allocations: 0.6586 MB / 479 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00107/0.131, allocations: 0.7152 MB / 479.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00187/0.1328, allocations: 1.776 MB / 481.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.1329, allocations: 0 / 481.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1329, allocations: 0 / 481.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.895e-05/0.1329, allocations: 0 / 481.5 MB, free: 15.25 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.003147/0.1361, allocations: 1.635 MB / 483.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.1361, allocations: 15.89 kB / 483.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002868/0.1364, allocations: 194.4 kB / 483.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001642/0.1381, allocations: 282.8 kB / 483.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/0.1395, allocations: 0.8363 MB / 484.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.001e-05/0.1396, allocations: 86.72 kB / 484.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003238/0.1399, allocations: 155.8 kB / 484.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002483/0.1424, allocations: 1.854 MB / 486.5 MB, free: 9.918 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.084e-05/0.1425, allocations: 7.938 kB / 486.5 MB, free: 9.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.1426, allocations: 51.98 kB / 486.6 MB, free: 9.859 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000278/0.1429, allocations: 102.1 kB / 486.7 MB, free: 9.758 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002171/0.145, allocations: 1.487 MB / 488.2 MB, free: 8.262 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008302/0.1533, allocations: 8.292 MB / 496.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.1546, allocations: 1.167 MB / 497.6 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006156/0.1552, allocations: 492.2 kB / 498.1 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.713e-05/0.1553, allocations: 16.55 kB / 498.1 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.1553, allocations: 51.09 kB / 498.2 MB, free: 13.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 2.134e-06/0.1553, allocations: 0 / 498.2 MB, free: 13.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=83): time 0.003789/0.1591, allocations: 2.433 MB / 0.4889 GB, free: 11.28 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.1592, allocations: 93.64 kB / 0.489 GB, free: 11.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008616/0.1601, allocations: 0.8213 MB / 0.4898 GB, free: 10.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.042e-05/0.1601, allocations: 37.7 kB / 0.4898 GB, free: 10.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000402/0.1606, allocations: 0.6841 MB / 0.4905 GB, free: 9.602 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/0.1608, allocations: 299.8 kB / 0.4907 GB, free: 9.305 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003045/0.1611, allocations: 263.5 kB / 0.491 GB, free: 9.039 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1612, allocations: 414.7 kB / 0.4914 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006255/0.1619, allocations: 451.7 kB / 0.4918 GB, free: 8.184 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009461/0.1628, allocations: 1.005 MB / 0.4928 GB, free: 6.926 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001705/0.1645, allocations: 1.585 MB / 0.4943 GB, free: 5.082 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.1646, allocations: 8 kB / 0.4944 GB, free: 5.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.00273/0.1673, allocations: 1.763 MB / 0.4961 GB, free: 3.293 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.1673, allocations: 12 kB / 0.4961 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001575/0.1689, allocations: 0.9967 MB / 0.4971 GB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007822/0.1697, allocations: 250.3 kB / 0.4973 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009056/0.1706, allocations: 311.5 kB / 0.4976 GB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004196/0.1748, allocations: 5.184 MB / 0.5027 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006989/0.1755, allocations: 51.98 kB / 0.5027 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.814e-05/0.1757, allocations: 71.98 kB / 0.5028 GB, free: 11.99 MB / 398.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.0005457/0.1762, allocations: 425.1 kB / 0.5032 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.1764, allocations: 102.8 kB / 0.5033 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001408/0.1778, allocations: 0.9493 MB / 0.5042 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.1778, allocations: 15.94 kB / 0.5042 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.1778, allocations: 0 / 0.5042 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.1778, allocations: 7.922 kB / 0.5042 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00334/0.1812, allocations: 2.127 MB / 0.5063 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.1812, allocations: 4 kB / 0.5063 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008263/0.182, allocations: 183.8 kB / 0.5065 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/0.182, allocations: 4 kB / 0.5065 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-05/0.1821, allocations: 20 kB / 0.5065 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.1821, allocations: 8.172 kB / 0.5065 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1821, allocations: 8 kB / 0.5065 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00165/0.1838, allocations: 1.408 MB / 0.5079 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001814/0.184, allocations: 171.8 kB / 0.5081 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.1841, allocations: 20 kB / 0.5081 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004123/0.1845, allocations: 23.98 kB / 0.5081 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.295e-05/0.1846, allocations: 60.55 kB / 0.5082 GB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.342e-05/0.1847, allocations: 23.98 kB / 0.5082 GB, free: 6.293 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005533/0.1852, allocations: 0.538 MB / 0.5087 GB, free: 5.758 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1852, allocations: 4 kB / 0.5087 GB, free: 5.754 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009133/0.1862, allocations: 292 kB / 0.509 GB, free: 5.469 MB / 398.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.001896/0.1881, allocations: 1.969 MB / 0.5109 GB, free: 3.453 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002542/0.1906, allocations: 1.754 MB / 0.5126 GB, free: 1.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1906, allocations: 0 / 0.5126 GB, free: 1.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005004/0.1911, allocations: 417.2 kB / 0.513 GB, free: 1.254 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008229/0.192, allocations: 183.9 kB / 0.5132 GB, free: 1.078 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1681/0.3601, allocations: 11.13 MB / 0.5241 GB, free: 66.06 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007275/0.3608, allocations: 1.245 MB / 0.5253 GB, free: 65.3 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009959/0.3618, allocations: 421.3 kB / 0.5257 GB, free: 65.26 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000456/0.3623, allocations: 471 kB / 0.5261 GB, free: 64.91 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3623, allocations: 0 / 0.5261 GB, free: 64.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.112/3.475, allocations: 20.41 MB / 0.5461 GB, free: 54.14 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001706/3.475, allocations: 239.2 kB / 0.5463 GB, free: 53.89 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.612/6.087, allocations: 7.938 kB / 0.5463 GB, free: 53.88 MB / 398.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