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.001516/0.001516, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001753/0.001753, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.367/1.367, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1765/0.1765, allocations: 38.04 MB / 329.7 MB, free: 8.863 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 64.98 kB / 398.8 MB, free: 34.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09203/0.09344, allocations: 58.06 MB / 456.9 MB, free: 8.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.009836/0.1033, allocations: 8.913 MB / 465.8 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00505/0.1084, allocations: 3.041 MB / 468.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006349/0.1091, allocations: 31.81 kB / 468.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002752/0.1118, allocations: 1.092 MB / 469.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00178/0.1136, allocations: 0.6219 MB / 470.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001879/0.1155, allocations: 0.7288 MB / 471.3 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002016/0.1175, allocations: 1.621 MB / 472.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/0.1189, allocations: 0.8976 MB / 473.8 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001287/0.1202, allocations: 0.7198 MB / 474.5 MB, free: 6.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001689/0.1219, allocations: 0.9462 MB / 475.5 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002783/0.1222, allocations: 104 kB / 475.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.1233, allocations: 459.3 kB / 476 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007539/0.124, allocations: 0.6547 MB / 476.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00144/0.1255, allocations: 0.7152 MB / 477.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002195/0.1277, allocations: 1.76 MB / 479.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1277, allocations: 4 kB / 479.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1277, allocations: 0 / 479.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.997e-05/0.1278, allocations: 0 / 479.2 MB, free: 1.688 MB / 350.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.003375/0.1312, allocations: 1.635 MB / 480.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.1312, allocations: 12.03 kB / 480.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001751/0.133, allocations: 270.9 kB / 481.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001568/0.1345, allocations: 0.8402 MB / 481.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.42e-05/0.1346, allocations: 90.72 kB / 482 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003511/0.135, allocations: 152 kB / 482.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002856/0.1379, allocations: 1.854 MB / 484 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.252e-05/0.1379, allocations: 7.938 kB / 484 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001338/0.1381, allocations: 55.98 kB / 484.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003034/0.1384, allocations: 106.1 kB / 484.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002437/0.1408, allocations: 1.487 MB / 485.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008777/0.1496, allocations: 8.292 MB / 494 MB, free: 2.258 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/0.151, allocations: 1.162 MB / 495.1 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000671/0.1517, allocations: 496.2 kB / 495.6 MB, free: 492 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.889e-05/0.1517, allocations: 24.62 kB / 495.6 MB, free: 468 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.1518, allocations: 35.22 kB / 495.7 MB, free: 424 kB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 2.575e-06/0.1518, allocations: 4 kB / 495.7 MB, free: 420 kB / 366.1 MB Notification: Performance of matching and sorting (n=83): time 0.004121/0.1559, allocations: 2.433 MB / 498.1 MB, free: 13.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/0.156, allocations: 97.64 kB / 498.2 MB, free: 13.81 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009436/0.1569, allocations: 0.8173 MB / 499 MB, free: 12.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.119e-05/0.157, allocations: 41.7 kB / 499.1 MB, free: 12.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004452/0.1575, allocations: 0.6842 MB / 499.7 MB, free: 12.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002366/0.1577, allocations: 299.8 kB / 0.4883 GB, free: 11.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003217/0.158, allocations: 255.3 kB / 0.4886 GB, free: 11.69 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.1582, allocations: 414.7 kB / 0.4889 GB, free: 11.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006648/0.1589, allocations: 451.8 kB / 0.4894 GB, free: 10.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.1599, allocations: 1.005 MB / 0.4904 GB, free: 9.574 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001896/0.1618, allocations: 1.589 MB / 0.4919 GB, free: 7.723 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/0.1618, allocations: 7.938 kB / 0.4919 GB, free: 7.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003083/0.1649, allocations: 1.771 MB / 0.4936 GB, free: 5.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.165, allocations: 12 kB / 0.4937 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00172/0.1667, allocations: 0.9965 MB / 0.4946 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008907/0.1676, allocations: 246.3 kB / 0.4949 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.1686, allocations: 311.5 kB / 0.4952 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004888/0.1735, allocations: 5.184 MB / 0.5002 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009065/0.1745, allocations: 51.89 kB / 0.5003 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00015/0.1746, allocations: 71.98 kB / 0.5003 GB, free: 14.62 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.0007021/0.1753, allocations: 429.1 kB / 0.5008 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002106/0.1756, allocations: 98.78 kB / 0.5008 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001629/0.1772, allocations: 0.9532 MB / 0.5018 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.1772, allocations: 8 kB / 0.5018 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1772, allocations: 3.938 kB / 0.5018 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.1772, allocations: 3.984 kB / 0.5018 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003651/0.1809, allocations: 2.123 MB / 0.5039 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.1809, allocations: 4 kB / 0.5039 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008929/0.1818, allocations: 187.8 kB / 0.5041 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/0.1818, allocations: 4 kB / 0.5041 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-05/0.1819, allocations: 16 kB / 0.5041 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-06/0.1819, allocations: 11.98 kB / 0.5041 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1819, allocations: 0 / 0.5041 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/0.1838, allocations: 1.404 MB / 0.5055 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002466/0.184, allocations: 171.8 kB / 0.5056 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.1842, allocations: 20 kB / 0.5056 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004455/0.1846, allocations: 31.98 kB / 0.5057 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.1848, allocations: 56.55 kB / 0.5057 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.114e-05/0.1848, allocations: 27.98 kB / 0.5057 GB, free: 8.941 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007234/0.1855, allocations: 0.538 MB / 0.5063 GB, free: 8.406 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1856, allocations: 0 / 0.5063 GB, free: 8.406 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001133/0.1867, allocations: 296 kB / 0.5066 GB, free: 8.117 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.000178/0.1869, allocations: 127.1 kB / 0.5067 GB, free: 7.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002872/0.1898, allocations: 1.755 MB / 0.5084 GB, free: 6.188 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.1898, allocations: 3.938 kB / 0.5084 GB, free: 6.184 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006024/0.1904, allocations: 407.4 kB / 0.5088 GB, free: 5.785 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.1915, allocations: 189.7 kB / 0.509 GB, free: 5.613 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004599/0.1961, allocations: 2.733 MB / 0.5116 GB, free: 2.828 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009997/0.1971, allocations: 1.251 MB / 0.5129 GB, free: 1.547 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001095/0.1982, allocations: 424.7 kB / 0.5133 GB, free: 1.129 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002517/0.1985, allocations: 83.42 kB / 0.5133 GB, free: 1.047 MB / 398.1 MB Notification: Performance of SimCode: time 9.11e-07/0.1985, allocations: 3.938 kB / 0.5133 GB, free: 1.043 MB / 398.1 MB Notification: Performance of Templates: time 0.1947/0.3932, allocations: 10.77 MB / 0.5239 GB, free: 68.23 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