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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 184.8 kB / 8.134 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.296/1.296, allocations: 205.2 MB / 213.7 MB, free: 13.87 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009635/0.0009634, allocations: 83.3 kB / 261.7 MB, free: 13.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1734/0.1734, allocations: 37.97 MB / 347.7 MB, free: 7.477 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.911e-06/5.932e-06, allocations: 4 kB / 410 MB, free: 46.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08987/0.08989, allocations: 56.32 MB / 466.3 MB, free: 6.469 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2835/0.3734, allocations: 101.7 MB / 0.5547 GB, free: 8.883 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.3737, allocations: 87.94 kB / 0.5548 GB, free: 8.797 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0928/0.4665, allocations: 31.99 MB / 0.586 GB, free: 8.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.945e-05/0.4666, allocations: 32 kB / 0.5861 GB, free: 8.379 MB / 426.7 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.002892/0.4695, allocations: 1.305 MB / 0.5873 GB, free: 7.023 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.4696, allocations: 16.03 kB / 0.5873 GB, free: 7.008 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001819/0.4714, allocations: 282 kB / 0.5876 GB, free: 6.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005003/0.4764, allocations: 1.76 MB / 0.5893 GB, free: 4.922 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.246e-05/0.4765, allocations: 36 kB / 0.5894 GB, free: 4.887 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001983/0.4767, allocations: 84.64 kB / 0.5895 GB, free: 4.805 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002134/0.4789, allocations: 1.157 MB / 0.5906 GB, free: 3.645 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002364/0.4812, allocations: 1.639 MB / 0.5922 GB, free: 1.828 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.109e-05/0.4813, allocations: 11.84 kB / 0.5922 GB, free: 1.816 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.4814, allocations: 8 kB / 0.5922 GB, free: 1.809 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001237/0.4815, allocations: 90.06 kB / 0.5923 GB, free: 1.719 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009051/0.4906, allocations: 7.764 MB / 0.5999 GB, free: 9.684 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009639/0.4916, allocations: 0.5608 MB / 0.6004 GB, free: 9.105 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008293/0.4925, allocations: 0.5592 MB / 0.601 GB, free: 8.539 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.842e-05/0.4926, allocations: 24.69 kB / 0.601 GB, free: 8.512 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.902e-05/0.4926, allocations: 43.34 kB / 0.601 GB, free: 8.461 MB / 442.7 MB Notification: Performance of pre-optimization done (n=98): time 6.552e-06/0.4926, allocations: 7.938 kB / 0.601 GB, free: 8.453 MB / 442.7 MB Notification: Performance of matching and sorting (n=99): time 0.005309/0.4979, allocations: 2.479 MB / 0.6035 GB, free: 5.922 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.29e-05/0.4981, allocations: 85.89 kB / 0.6035 GB, free: 5.816 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009837/0.4991, allocations: 0.6053 MB / 0.6041 GB, free: 5.203 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.25e-05/0.4991, allocations: 25.7 kB / 0.6042 GB, free: 5.172 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004172/0.4996, allocations: 0.5521 MB / 0.6047 GB, free: 4.609 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003349/0.4999, allocations: 343 kB / 0.605 GB, free: 4.27 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.472e-05/0.5, allocations: 4.031 kB / 0.605 GB, free: 4.266 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002228/0.5002, allocations: 410.7 kB / 0.6054 GB, free: 3.855 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000749/0.501, allocations: 0.4913 MB / 0.6059 GB, free: 3.359 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/0.5022, allocations: 0.9686 MB / 0.6068 GB, free: 2.184 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.5035, allocations: 0.7052 MB / 0.6075 GB, free: 1.477 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/0.5036, allocations: 8 kB / 0.6075 GB, free: 1.469 MB / 442.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003393/0.507, allocations: 1.742 MB / 0.6092 GB, free: 15.71 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.507, allocations: 7.938 kB / 0.6092 GB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002206/0.5092, allocations: 1.156 MB / 0.6104 GB, free: 14.54 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009505/0.5102, allocations: 250.3 kB / 0.6106 GB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.5114, allocations: 295.5 kB / 0.6109 GB, free: 14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004204/0.5156, allocations: 4.537 MB / 0.6153 GB, free: 9.109 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.5167, allocations: 32.02 kB / 0.6154 GB, free: 9.078 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/0.5169, allocations: 60 kB / 0.6154 GB, free: 9.02 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002543/0.5171, allocations: 156.5 kB / 0.6156 GB, free: 8.859 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.5173, allocations: 98.78 kB / 0.6157 GB, free: 8.762 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002226/0.5195, allocations: 1.161 MB / 0.6168 GB, free: 7.59 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.444e-05/0.5196, allocations: 16 kB / 0.6168 GB, free: 7.574 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.5196, allocations: 0 / 0.6168 GB, free: 7.574 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.5196, allocations: 7.969 kB / 0.6168 GB, free: 7.566 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004815/0.5244, allocations: 2.341 MB / 0.6191 GB, free: 5.141 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-05/0.5245, allocations: 4 kB / 0.6191 GB, free: 5.137 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/0.5256, allocations: 191.7 kB / 0.6193 GB, free: 4.949 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.323e-05/0.5257, allocations: 8.375 kB / 0.6193 GB, free: 4.941 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-05/0.5258, allocations: 23.92 kB / 0.6193 GB, free: 4.918 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.169e-05/0.5258, allocations: 8 kB / 0.6193 GB, free: 4.91 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-05/0.5258, allocations: 11.88 kB / 0.6193 GB, free: 4.898 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003069/0.5289, allocations: 1.924 MB / 0.6212 GB, free: 2.836 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003931/0.5293, allocations: 167.9 kB / 0.6214 GB, free: 2.652 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/0.5294, allocations: 7.984 kB / 0.6214 GB, free: 2.645 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005554/0.53, allocations: 23.97 kB / 0.6214 GB, free: 2.621 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.5301, allocations: 52.48 kB / 0.6215 GB, free: 2.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.58e-05/0.5302, allocations: 32 kB / 0.6215 GB, free: 2.539 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0007208/0.5309, allocations: 455.1 kB / 0.6219 GB, free: 2.094 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001349/0.5323, allocations: 287.9 kB / 0.6222 GB, free: 1.812 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 85 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004123/0.5327, allocations: 201.4 kB / 0.6224 GB, free: 1.605 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00254/0.5353, allocations: 1.525 MB / 0.6239 GB, free: 56 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.279e-06/0.5353, allocations: 0 / 0.6239 GB, free: 56 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00082/0.5361, allocations: 0.5077 MB / 0.6244 GB, free: 15.55 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009288/0.5371, allocations: 143.6 kB / 0.6245 GB, free: 15.41 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004239/0.5413, allocations: 2.441 MB / 0.6269 GB, free: 12.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001231/0.5426, allocations: 1.354 MB / 0.6282 GB, free: 11.52 MB / 474.7 MB Notification: Performance of SimCode: time 9.02e-07/0.5426, allocations: 0 / 0.6282 GB, free: 11.52 MB / 474.7 MB Notification: Performance of Templates: time 0.1833/0.7258, allocations: 12.41 MB / 0.6403 GB, free: 188.4 MB / 474.7 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","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches