Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.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.0007126/0.0007126, allocations: 85.06 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009637/0.001676, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.0006767/0.0006767, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008908/0.001568, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.8977/0.8977, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1047/1.002, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.01993/0.01993, allocations: 4.463 MB / 248.6 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003055/0.02298, allocations: 2.085 MB / 250.7 MB, free: 8.199 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.TwoSourcesOneLineThreeSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors") translateModel(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 252 MB, free: 6.934 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.579e-05/1.762e-05, allocations: 6.25 kB / 252 MB, free: 6.926 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.001949/0.001967, allocations: 1.727 MB / 253.7 MB, free: 5.199 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.003249, allocations: 1.527 MB / 255.2 MB, free: 3.656 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.885e-05/0.003308, allocations: 4 kB / 255.2 MB, free: 3.652 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002243/0.003532, allocations: 131.2 kB / 255.4 MB, free: 3.523 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.003661, allocations: 87.31 kB / 255.5 MB, free: 3.438 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000838/0.004499, allocations: 0.8633 MB / 256.3 MB, free: 2.57 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.00474, allocations: 234.8 kB / 256.5 MB, free: 2.34 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.004862, allocations: 82.89 kB / 256.6 MB, free: 2.254 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.004976, allocations: 151.7 kB / 256.8 MB, free: 2.105 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.005099, allocations: 99.7 kB / 256.9 MB, free: 2.008 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.005122, allocations: 20 kB / 256.9 MB, free: 1.988 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003003/0.005422, allocations: 219.6 kB / 257.1 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.867e-05/0.005451, allocations: 35.88 kB / 257.1 MB, free: 1.738 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.012e-05/0.005501, allocations: 67.81 kB / 257.2 MB, free: 1.672 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000354/0.005855, allocations: 342.9 kB / 257.5 MB, free: 1.336 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.788e-06/0.005864, allocations: 0 / 257.5 MB, free: 1.336 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.005865, allocations: 3.938 kB / 257.5 MB, free: 1.332 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.005874, allocations: 0 / 257.5 MB, free: 1.332 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001179/0.007053, allocations: 0.8285 MB / 258.4 MB, free: 468 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.586e-05/0.007079, allocations: 8.031 kB / 258.4 MB, free: 460 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.977e-05/0.007128, allocations: 36.91 kB / 258.4 MB, free: 424 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.007266, allocations: 153.4 kB / 258.6 MB, free: 244 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.007278, allocations: 16.88 kB / 258.6 MB, free: 228 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.007304, allocations: 24.38 kB / 258.6 MB, free: 204 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.007481, allocations: 183.4 kB / 258.8 MB, free: 12 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.007489, allocations: 4.172 kB / 258.8 MB, free: 8 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.007504, allocations: 8.375 kB / 258.8 MB, free: 0 / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.007522, allocations: 8.422 kB / 258.8 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.007632, allocations: 95.33 kB / 258.9 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006112/0.008243, allocations: 0.5307 MB / 259.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.008451, allocations: 170.4 kB / 259.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.02e-05/0.008501, allocations: 52.78 kB / 259.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.857e-05/0.008559, allocations: 11.98 kB / 259.7 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.008576, allocations: 30.56 kB / 259.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.323e-06/0.008577, allocations: 0 / 259.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.000409/0.008986, allocations: 221.3 kB / 259.9 MB, free: 14.85 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.009013, allocations: 55.41 kB / 260 MB, free: 14.78 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.409e-05/0.009097, allocations: 163.2 kB / 260.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.009114, allocations: 33.7 kB / 260.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.324e-05/0.009167, allocations: 144.6 kB / 260.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.009207, allocations: 95.2 kB / 260.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.95e-05/0.009266, allocations: 65.61 kB / 260.4 MB, free: 14.26 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.818e-05/0.009335, allocations: 326.8 kB / 260.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.017e-05/0.009385, allocations: 50.8 kB / 260.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.651e-05/0.009431, allocations: 53.33 kB / 260.9 MB, free: 13.83 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.009558, allocations: 140 kB / 261 MB, free: 13.69 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.00956, allocations: 0 / 261 MB, free: 13.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002132/0.009773, allocations: 202.2 kB / 261.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.009784, allocations: 4 kB / 261.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.009788, allocations: 7.938 kB / 261.2 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001121/0.0099, allocations: 32.8 kB / 261.2 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.01007, allocations: 75.89 kB / 261.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-06/0.01007, allocations: 0 / 261.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.661e-05/0.01014, allocations: 19.84 kB / 261.3 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.01015, allocations: 15.98 kB / 261.4 MB, free: 13.33 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 (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.959e-05/0.01022, allocations: 125.8 kB / 261.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.01025, allocations: 23.97 kB / 261.5 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/0.01048, allocations: 184.2 kB / 261.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.01048, allocations: 0 / 261.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.01049, allocations: 4 kB / 261.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.01049, allocations: 0 / 261.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000369/0.01086, allocations: 396.8 kB / 262.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.01086, allocations: 3.984 kB / 262.1 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.01097, allocations: 43.98 kB / 262.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.757e-05/0.01099, allocations: 23.83 kB / 262.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.625e-05/0.01106, allocations: 36.69 kB / 262.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.01107, allocations: 4 kB / 262.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.01107, allocations: 4 kB / 262.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01107, allocations: 0 / 262.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/0.01125, allocations: 245.3 kB / 262.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.01127, allocations: 12 kB / 262.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.991e-05/0.01133, allocations: 4 kB / 262.4 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-05/0.01136, allocations: 23.91 kB / 262.5 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.01136, allocations: 3.938 kB / 262.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.337e-05/0.0114, allocations: 47.5 kB / 262.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0114, allocations: 4 kB / 262.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001764/0.01157, allocations: 71.89 kB / 262.6 MB, free: 12.02 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001085/0.01168, allocations: 96.39 kB / 262.7 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002818/0.01196, allocations: 194 kB / 262.9 MB, free: 11.72 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.01197, allocations: 7.938 kB / 262.9 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.01215, allocations: 142.1 kB / 263 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001296/0.01228, allocations: 47.92 kB / 263.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004015/0.01629, allocations: 420 kB / 263.5 MB, free: 11.08 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.074e-05/0.01633, allocations: 79.98 kB / 263.6 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.042e-05/0.01639, allocations: 21.61 kB / 263.6 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.98e-05/0.01645, allocations: 71.38 kB / 263.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of SimCode: time 4.9e-07/0.01645, allocations: 0 / 263.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of Templates: time 0.003761/0.02022, allocations: 2.672 MB / 266.3 MB, free: 8.242 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.sim & ./PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.2987055834382772]