Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009225/0.0009225, allocations: 79.94 kB / 20.76 MB, free: 3.73 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009322/0.0009322, allocations: 173 kB / 24.19 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.922/0.922, allocations: 177.1 MB / 204.6 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.02238/0.02238, allocations: 4.498 MB / 265.6 MB, free: 8.418 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") translateModel(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 3.938 kB / 283.7 MB, free: 6.289 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.317e-05/1.452e-05, allocations: 2.312 kB / 283.7 MB, free: 6.285 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.003853/0.003868, allocations: 5.35 MB / 289 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1016/0.1055, allocations: 2.42 MB / 291.5 MB, free: 18.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004155/0.1059, allocations: 16.28 kB / 291.5 MB, free: 18.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005747/0.1065, allocations: 341.5 kB / 291.8 MB, free: 18.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009672/0.1074, allocations: 0.6111 MB / 292.4 MB, free: 18.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.109, allocations: 1.372 MB / 293.8 MB, free: 18.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001094/0.1101, allocations: 1.309 MB / 295.1 MB, free: 17.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003282/0.1104, allocations: 274.6 kB / 295.4 MB, free: 17.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007592/0.1112, allocations: 0.7621 MB / 296.1 MB, free: 17.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006562/0.1118, allocations: 0.5231 MB / 296.7 MB, free: 17.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001639/0.112, allocations: 104.1 kB / 296.8 MB, free: 17.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005397/0.1125, allocations: 335.3 kB / 297.1 MB, free: 17.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.1127, allocations: 269.7 kB / 297.4 MB, free: 17.22 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003546/0.113, allocations: 425.3 kB / 297.8 MB, free: 17.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009225/0.1139, allocations: 1.129 MB / 298.9 MB, free: 16.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.114, allocations: 0 / 298.9 MB, free: 16.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.114, allocations: 0 / 298.9 MB, free: 16.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.769e-05/0.114, allocations: 0 / 298.9 MB, free: 16.59 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.005922/0.1199, allocations: 3.291 MB / 302.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.873e-05/0.1199, allocations: 9.625 kB / 302.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002118/0.1201, allocations: 158.3 kB / 302.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004815/0.1206, allocations: 412.7 kB / 302.8 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.882e-05/0.1207, allocations: 75.81 kB / 302.8 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.1208, allocations: 108.1 kB / 302.9 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008445/0.1216, allocations: 1.49 MB / 304.4 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.1216, allocations: 4.188 kB / 304.4 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.205e-05/0.1217, allocations: 39.25 kB / 304.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.1217, allocations: 23.22 kB / 304.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005295/0.1222, allocations: 383.1 kB / 304.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002409/0.1246, allocations: 1.918 MB / 306.8 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008145/0.1255, allocations: 1.046 MB / 307.8 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002895/0.1258, allocations: 328.6 kB / 308.1 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.675e-05/0.1258, allocations: 37.3 kB / 308.2 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.1259, allocations: 54.17 kB / 308.2 MB, free: 11.65 MB / 266.7 MB Notification: Performance of pre-optimization done (n=147): time 2.495e-06/0.1259, allocations: 0 / 308.2 MB, free: 11.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=147): time 0.009875/0.1357, allocations: 5.009 MB / 313.2 MB, free: 6.648 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.1358, allocations: 124.1 kB / 313.4 MB, free: 6.504 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.136, allocations: 0.5672 MB / 313.9 MB, free: 6.023 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.091e-05/0.1361, allocations: 61.64 kB / 314 MB, free: 5.957 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.763e-05/0.1362, allocations: 256.1 kB / 314.2 MB, free: 5.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.1364, allocations: 0.5172 MB / 314.8 MB, free: 5.242 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/0.1366, allocations: 273.5 kB / 315 MB, free: 5.008 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.129e-05/0.1366, allocations: 348.8 kB / 315.4 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000281/0.1369, allocations: 310.7 kB / 315.7 MB, free: 4.379 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003305/0.1373, allocations: 470.2 kB / 316.1 MB, free: 3.934 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006513/0.1379, allocations: 0.8636 MB / 317 MB, free: 3.102 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1379, allocations: 0 / 317 MB, free: 3.102 MB / 266.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003177/0.1411, allocations: 2.182 MB / 319.2 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1411, allocations: 8 kB / 319.2 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.1411, allocations: 0 / 319.2 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005609/0.1467, allocations: 2.937 MB / 322.1 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004352/0.1472, allocations: 219.7 kB / 322.3 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007777/0.1549, allocations: 5.655 MB / 328 MB, free: 8.164 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005535/0.1555, allocations: 135 kB / 328.1 MB, free: 8.031 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.088e-05/0.1556, allocations: 39.97 kB / 328.2 MB, free: 7.992 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(32,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0002449/0.1558, allocations: 181.6 kB / 328.3 MB, free: 7.805 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.1559, allocations: 127.8 kB / 328.5 MB, free: 7.68 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003669/0.1596, allocations: 2.219 MB / 330.7 MB, free: 5.441 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.1596, allocations: 16 kB / 330.7 MB, free: 5.426 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.1596, allocations: 0 / 330.7 MB, free: 5.426 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.1596, allocations: 7.969 kB / 330.7 MB, free: 5.418 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004238/0.1639, allocations: 2.892 MB / 333.6 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.1639, allocations: 0 / 333.6 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002917/0.1642, allocations: 175.8 kB / 333.8 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006528/0.1707, allocations: 2.895 MB / 336.7 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.139e-05/0.1708, allocations: 35.98 kB / 336.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009647/0.1804, allocations: 5.484 MB / 342.2 MB, free: 9.805 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.1804, allocations: 3.938 kB / 342.2 MB, free: 9.801 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004907/0.1853, allocations: 2.176 MB / 344.4 MB, free: 7.598 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001598/0.1855, allocations: 126.9 kB / 344.5 MB, free: 7.473 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.1856, allocations: 28 kB / 344.5 MB, free: 7.445 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005515/0.1862, allocations: 82.58 kB / 344.6 MB, free: 7.367 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002331/0.1864, allocations: 130.3 kB / 344.7 MB, free: 7.242 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.417e-05/0.1865, allocations: 35.98 kB / 344.8 MB, free: 7.207 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002607/0.1868, allocations: 263.4 kB / 345 MB, free: 6.945 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1868, allocations: 4 kB / 345 MB, free: 6.941 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001147/0.1879, allocations: 0.5271 MB / 345.5 MB, free: 6.414 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(32,32)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002644/0.1882, allocations: 136.9 kB / 345.7 MB, free: 6.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003537/0.1917, allocations: 2.001 MB / 347.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.415e-05/0.1917, allocations: 8.656 kB / 347.7 MB, free: 4.254 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002727/0.1945, allocations: 1.538 MB / 349.2 MB, free: 2.703 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005967/0.195, allocations: 157.2 kB / 349.4 MB, free: 2.555 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00311/0.1982, allocations: 1.91 MB / 351.3 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.1984, allocations: 245.7 kB / 351.5 MB, free: 364 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003634/0.1987, allocations: 151.5 kB / 351.7 MB, free: 208 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004839/0.1992, allocations: 281.2 kB / 352 MB, free: 15.93 MB / 314.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1992, allocations: 0 / 352 MB, free: 15.93 MB / 314.7 MB Notification: Performance of Templates: time 0.03916/0.2384, allocations: 38.27 MB / 390.2 MB, free: 9.824 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2823538072407246]