Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.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.000946/0.000946, allocations: 80.06 kB / 20.76 MB, free: 3.727 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.001002/0.001002, allocations: 177 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 1.04/1.04, allocations: 177.1 MB / 204.6 MB, free: 5.5 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.02161/0.02161, allocations: 4.485 MB / 265.6 MB, free: 8.457 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.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 4 kB / 283.7 MB, free: 6.352 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.533e-05/1.775e-05, allocations: 2.312 kB / 283.7 MB, free: 6.348 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.001207/0.001225, allocations: 0.861 MB / 284.5 MB, free: 5.488 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.002387, allocations: 1.361 MB / 285.9 MB, free: 4.113 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.031e-05/0.002427, allocations: 0 / 285.9 MB, free: 4.113 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.002639, allocations: 63.58 kB / 286 MB, free: 4.051 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001378/0.002777, allocations: 47.69 kB / 286 MB, free: 4.004 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004477/0.003224, allocations: 298.7 kB / 286.3 MB, free: 3.711 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.912e-05/0.003303, allocations: 71.61 kB / 286.4 MB, free: 3.641 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.883e-05/0.003382, allocations: 19.97 kB / 286.4 MB, free: 3.621 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.937e-05/0.003432, allocations: 47.91 kB / 286.4 MB, free: 3.574 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.6e-05/0.003528, allocations: 35.89 kB / 286.5 MB, free: 3.539 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.003542, allocations: 7.938 kB / 286.5 MB, free: 3.531 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.003687, allocations: 111.7 kB / 286.6 MB, free: 3.422 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.003703, allocations: 15.94 kB / 286.6 MB, free: 3.406 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.258e-05/0.003726, allocations: 19.92 kB / 286.6 MB, free: 3.387 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.003903, allocations: 155.5 kB / 286.8 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.003905, allocations: 0 / 286.8 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.003905, allocations: 0 / 286.8 MB, free: 3.234 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.725e-06/0.003908, allocations: 0 / 286.8 MB, free: 3.234 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005063/0.004414, allocations: 364.3 kB / 287.1 MB, free: 2.852 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.631e-05/0.00444, allocations: 8.031 kB / 287.1 MB, free: 2.844 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.004469, allocations: 12.92 kB / 287.1 MB, free: 2.832 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.109e-05/0.00456, allocations: 130.4 kB / 287.3 MB, free: 2.676 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.004572, allocations: 8.375 kB / 287.3 MB, free: 2.668 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.004586, allocations: 4.375 kB / 287.3 MB, free: 2.664 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.004691, allocations: 120.5 kB / 287.4 MB, free: 2.527 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.004697, allocations: 192 / 287.4 MB, free: 2.527 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.343e-06/0.004705, allocations: 384 / 287.4 MB, free: 2.527 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.004711, allocations: 16.25 kB / 287.4 MB, free: 2.512 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.486e-05/0.004745, allocations: 27.8 kB / 287.4 MB, free: 2.488 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002783/0.005024, allocations: 225.8 kB / 287.7 MB, free: 2.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.005182, allocations: 117.3 kB / 287.8 MB, free: 2.125 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.857e-05/0.0052, allocations: 16.8 kB / 287.8 MB, free: 2.105 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.005227, allocations: 4 kB / 287.8 MB, free: 2.102 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.005246, allocations: 38.5 kB / 287.8 MB, free: 2.055 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 8.41e-07/0.005247, allocations: 0 / 287.8 MB, free: 2.055 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002458/0.005493, allocations: 106.6 kB / 287.9 MB, free: 1.941 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.005514, allocations: 55.34 kB / 288 MB, free: 1.875 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.648e-05/0.005591, allocations: 136.3 kB / 288.1 MB, free: 1.727 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.005601, allocations: 25.7 kB / 288.2 MB, free: 1.695 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/0.005638, allocations: 99.97 kB / 288.3 MB, free: 1.594 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.338e-05/0.005651, allocations: 27.73 kB / 288.3 MB, free: 1.566 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/0.005679, allocations: 25.7 kB / 288.3 MB, free: 1.535 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.225e-05/0.005741, allocations: 322.8 kB / 288.6 MB, free: 1.211 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.506e-05/0.005756, allocations: 14.83 kB / 288.6 MB, free: 1.195 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.608e-05/0.005773, allocations: 11.98 kB / 288.6 MB, free: 1.184 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.11e-05/0.005814, allocations: 39.61 kB / 288.7 MB, free: 1.141 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.005816, allocations: 0 / 288.7 MB, free: 1.141 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001021/0.005918, allocations: 94.56 kB / 288.8 MB, free: 1.039 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/0.005927, allocations: 4 kB / 288.8 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.00593, allocations: 0 / 288.8 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001462/0.006076, allocations: 36.77 kB / 288.8 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.378e-05/0.00611, allocations: 15.98 kB / 288.8 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09953/0.1056, allocations: 1.17 MB / 290 MB, free: 20.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.444e-05/0.1057, allocations: 5.234 kB / 290 MB, free: 20.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.1057, allocations: 4 kB / 290 MB, free: 20.74 MB / 266.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 (9): * Single equations (assignments): 8 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.317e-05/0.1058, allocations: 112.1 kB / 290.1 MB, free: 20.62 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.1058, allocations: 11.73 kB / 290.1 MB, free: 20.62 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001962/0.106, allocations: 90.58 kB / 290.2 MB, free: 20.58 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.106, allocations: 3 kB / 290.2 MB, free: 20.58 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.106, allocations: 2.688 kB / 290.2 MB, free: 20.58 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.106, allocations: 1.281 kB / 290.2 MB, free: 20.58 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.1061, allocations: 87.83 kB / 290.3 MB, free: 20.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1061, allocations: 0.8125 kB / 290.3 MB, free: 20.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.24e-05/0.1062, allocations: 11.58 kB / 290.3 MB, free: 20.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001559/0.1063, allocations: 34.3 kB / 290.4 MB, free: 20.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.1063, allocations: 4.062 kB / 290.4 MB, free: 20.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00057/0.1069, allocations: 1.176 MB / 291.5 MB, free: 19.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1069, allocations: 4.531 kB / 291.5 MB, free: 19.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.1071, allocations: 217.6 kB / 291.8 MB, free: 19.19 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.543e-05/0.1071, allocations: 18.25 kB / 291.8 MB, free: 19.19 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.1071, allocations: 4.062 kB / 291.8 MB, free: 19.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.948e-05/0.1071, allocations: 6.438 kB / 291.8 MB, free: 19.19 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/0.1072, allocations: 9.812 kB / 291.8 MB, free: 19.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.1072, allocations: 3.469 kB / 291.8 MB, free: 19.19 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.109e-05/0.1072, allocations: 25.64 kB / 291.8 MB, free: 19.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1072, allocations: 0 / 291.8 MB, free: 19.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001836/0.1074, allocations: 26.14 kB / 291.8 MB, free: 19.18 MB / 266.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 (6): * Single equations (assignments): 5 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000127/0.1075, allocations: 88.66 kB / 291.9 MB, free: 19.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.1077, allocations: 170.5 kB / 292.1 MB, free: 18.99 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.1077, allocations: 1.031 kB / 292.1 MB, free: 18.99 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.364e-05/0.1078, allocations: 146.6 kB / 292.2 MB, free: 18.87 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.1079, allocations: 17.53 kB / 292.3 MB, free: 18.87 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005217/0.1085, allocations: 228 kB / 292.5 MB, free: 18.72 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.607e-05/0.1085, allocations: 61.48 kB / 292.5 MB, free: 18.65 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.768e-05/0.1085, allocations: 12.28 kB / 292.6 MB, free: 18.65 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.439e-05/0.1086, allocations: 69.28 kB / 292.6 MB, free: 18.61 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1086, allocations: 0 / 292.6 MB, free: 18.61 MB / 266.7 MB Notification: Performance of Templates: time 0.003762/0.1124, allocations: 1.774 MB / 294.4 MB, free: 18.49 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.672119162976742]