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.001309/0.001309, allocations: 106.7 kB / 16.62 MB, free: 6.812 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.001485/0.001485, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.441/1.441, allocations: 222.9 MB / 241.2 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1744/0.1744, allocations: 38.04 MB / 329.4 MB, free: 8.832 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 59.61 kB / 398.3 MB, free: 34.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.103, allocations: 58.06 MB / 456.4 MB, free: 8.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.0118/0.1148, allocations: 10.98 MB / 467.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006723/0.1216, allocations: 3.653 MB / 471 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001553/0.1232, allocations: 75.5 kB / 471.1 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002639/0.1259, allocations: 1.023 MB / 472.1 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001488/0.1274, allocations: 0.5835 MB / 472.7 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001812/0.1292, allocations: 0.659 MB / 473.3 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002265/0.1315, allocations: 1.629 MB / 475 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001511/0.133, allocations: 0.9639 MB / 475.9 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001311/0.1343, allocations: 0.7276 MB / 476.6 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001327/0.1356, allocations: 1.001 MB / 477.6 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000144/0.1358, allocations: 108 kB / 477.8 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008085/0.1366, allocations: 451.3 kB / 478.2 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005665/0.1372, allocations: 0.6703 MB / 478.9 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000757/0.138, allocations: 0.7152 MB / 479.6 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002038/0.14, allocations: 1.772 MB / 481.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.14, allocations: 0 / 481.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.14, allocations: 4 kB / 481.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.712e-05/0.1401, allocations: 0 / 481.4 MB, free: 15.31 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.003113/0.1432, allocations: 1.646 MB / 483 MB, free: 13.61 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.1432, allocations: 11.89 kB / 483 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001687/0.1449, allocations: 275 kB / 483.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.1464, allocations: 0.8441 MB / 484.1 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.21e-05/0.1464, allocations: 82.72 kB / 484.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003433/0.1468, allocations: 152 kB / 484.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00256/0.1494, allocations: 1.854 MB / 486.2 MB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.613e-05/0.1494, allocations: 7.938 kB / 486.2 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.1495, allocations: 55.98 kB / 486.3 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003019/0.1498, allocations: 102.1 kB / 486.4 MB, free: 10 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002235/0.1521, allocations: 1.491 MB / 487.9 MB, free: 8.504 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008969/0.1611, allocations: 8.284 MB / 496.1 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/0.1625, allocations: 1.168 MB / 497.3 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006496/0.1632, allocations: 488.2 kB / 497.8 MB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.517e-05/0.1633, allocations: 16.62 kB / 497.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.1633, allocations: 47.16 kB / 497.9 MB, free: 14.03 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 3.186e-06/0.1633, allocations: 0 / 497.9 MB, free: 14.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=83): time 0.004098/0.1674, allocations: 2.437 MB / 0.4886 GB, free: 11.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.1675, allocations: 89.7 kB / 0.4887 GB, free: 11.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009594/0.1685, allocations: 0.8213 MB / 0.4895 GB, free: 10.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.604e-05/0.1686, allocations: 33.7 kB / 0.4895 GB, free: 10.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000469/0.169, allocations: 0.6918 MB / 0.4902 GB, free: 9.859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002466/0.1693, allocations: 299.9 kB / 0.4904 GB, free: 9.562 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003372/0.1696, allocations: 263.3 kB / 0.4907 GB, free: 9.297 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.1698, allocations: 414.7 kB / 0.4911 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006564/0.1705, allocations: 451.7 kB / 0.4915 GB, free: 8.441 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.1715, allocations: 1.005 MB / 0.4925 GB, free: 7.184 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001918/0.1735, allocations: 1.589 MB / 0.4941 GB, free: 5.336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.1735, allocations: 12 kB / 0.4941 GB, free: 5.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003047/0.1765, allocations: 1.756 MB / 0.4958 GB, free: 3.551 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.1766, allocations: 19.98 kB / 0.4958 GB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001708/0.1783, allocations: 0.9921 MB / 0.4968 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009058/0.1792, allocations: 250.3 kB / 0.497 GB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.1803, allocations: 307.5 kB / 0.4973 GB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005332/0.1856, allocations: 5.184 MB / 0.5024 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.1868, allocations: 55.98 kB / 0.5024 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.187, allocations: 68 kB / 0.5025 GB, free: 12.25 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.0007961/0.1878, allocations: 429.2 kB / 0.5029 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.1879, allocations: 94.78 kB / 0.503 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001538/0.1895, allocations: 0.9531 MB / 0.5039 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.1895, allocations: 12 kB / 0.5039 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1895, allocations: 8.125 kB / 0.5039 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.1895, allocations: 3.984 kB / 0.5039 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003814/0.1933, allocations: 2.127 MB / 0.506 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.1933, allocations: 7.938 kB / 0.506 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009774/0.1943, allocations: 183.8 kB / 0.5062 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.1944, allocations: 4 kB / 0.5062 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.008e-05/0.1944, allocations: 28.17 kB / 0.5062 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.1944, allocations: 4 kB / 0.5062 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1944, allocations: 4 kB / 0.5062 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/0.1963, allocations: 1.408 MB / 0.5076 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/0.1965, allocations: 168 kB / 0.5078 GB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.1966, allocations: 23.98 kB / 0.5078 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000395/0.197, allocations: 23.92 kB / 0.5078 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.1971, allocations: 56.56 kB / 0.5079 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.011e-05/0.1972, allocations: 27.98 kB / 0.5079 GB, free: 6.547 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006106/0.1978, allocations: 0.5419 MB / 0.5084 GB, free: 6.008 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1978, allocations: 0 / 0.5084 GB, free: 6.008 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001056/0.1989, allocations: 292 kB / 0.5087 GB, free: 5.723 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.0001814/0.1991, allocations: 127.1 kB / 0.5088 GB, free: 5.586 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002921/0.202, allocations: 1.75 MB / 0.5105 GB, free: 3.801 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.202, allocations: 1.75 kB / 0.5105 GB, free: 3.801 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005624/0.2026, allocations: 415.4 kB / 0.5109 GB, free: 3.395 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000879/0.2035, allocations: 181 kB / 0.5111 GB, free: 3.227 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.168/0.3715, allocations: 3.24 MB / 0.5143 GB, free: 70.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/0.3727, allocations: 1.248 MB / 0.5155 GB, free: 69.3 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00123/0.3739, allocations: 420.1 kB / 0.5159 GB, free: 69.29 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002418/0.3741, allocations: 81.8 kB / 0.516 GB, free: 69.29 MB / 398.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3742, allocations: 0 / 0.516 GB, free: 69.29 MB / 398.1 MB Notification: Performance of Templates: time 0.02092/0.3951, allocations: 10.79 MB / 0.5265 GB, free: 67.45 MB / 398.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