Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 114.7 kB / 17.85 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 191.8 kB / 20.79 MB, free: 2.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 225.6 MB / 249.2 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04986/0.04986, allocations: 8.23 MB / 312.3 MB, free: 2.078 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-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(PowerSysPro.Examples.OneSourceOneLoadwithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors") translateModel(PowerSysPro.Examples.OneSourceOneLoadwithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 67.89 kB / 435.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2469, allocations: 54.36 MB / 489.5 MB, free: 27.81 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadwithSensors): time 0.00249/0.2494, allocations: 1.746 MB / 491.2 MB, free: 26.46 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.2509, allocations: 1.346 MB / 492.6 MB, free: 25.37 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.159e-05/0.2509, allocations: 4.844 kB / 492.6 MB, free: 25.37 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002923/0.2512, allocations: 98.39 kB / 492.7 MB, free: 25.3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002122/0.2515, allocations: 96.34 kB / 492.8 MB, free: 25.22 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007777/0.2522, allocations: 465.7 kB / 493.2 MB, free: 24.89 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.2524, allocations: 216.8 kB / 493.4 MB, free: 24.76 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.2526, allocations: 79.62 kB / 493.5 MB, free: 24.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.477e-05/0.2527, allocations: 101.2 kB / 493.6 MB, free: 24.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/0.2529, allocations: 149.3 kB / 493.8 MB, free: 24.56 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.402e-05/0.2529, allocations: 20.97 kB / 493.8 MB, free: 24.56 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.2531, allocations: 127 kB / 493.9 MB, free: 24.51 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.472e-05/0.2532, allocations: 46.86 kB / 494 MB, free: 24.47 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.593e-05/0.2532, allocations: 118.8 kB / 494.1 MB, free: 24.39 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003473/0.2536, allocations: 332.4 kB / 494.4 MB, free: 24.17 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2536, allocations: 0 / 494.4 MB, free: 24.17 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.093e-06/0.2536, allocations: 1.375 kB / 494.4 MB, free: 24.17 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.2536, allocations: 0 / 494.4 MB, free: 24.17 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.00154/0.2551, allocations: 0.6736 MB / 495.1 MB, free: 23.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.2552, allocations: 13.48 kB / 495.1 MB, free: 23.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.419e-05/0.2552, allocations: 25.17 kB / 495.1 MB, free: 23.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.2554, allocations: 209.2 kB / 495.3 MB, free: 23.35 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.2554, allocations: 17.19 kB / 495.3 MB, free: 23.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.2555, allocations: 26.06 kB / 495.4 MB, free: 23.33 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003885/0.2559, allocations: 294 kB / 495.6 MB, free: 23.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.2559, allocations: 192 / 495.6 MB, free: 23.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/0.2559, allocations: 14.69 kB / 495.7 MB, free: 23.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.2559, allocations: 5.5 kB / 495.7 MB, free: 23.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000318/0.2562, allocations: 241.5 kB / 495.9 MB, free: 23.01 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.2574, allocations: 0.966 MB / 496.9 MB, free: 22.17 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007132/0.2581, allocations: 355.5 kB / 497.2 MB, free: 21.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.2583, allocations: 79.77 kB / 497.3 MB, free: 21.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.373e-05/0.2583, allocations: 14.47 kB / 497.3 MB, free: 21.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.2583, allocations: 41.25 kB / 497.3 MB, free: 21.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.553e-06/0.2583, allocations: 0 / 497.3 MB, free: 21.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.001062/0.2594, allocations: 0.5218 MB / 497.9 MB, free: 21.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.2594, allocations: 83.61 kB / 497.9 MB, free: 21.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.2596, allocations: 185.8 kB / 498.1 MB, free: 21.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.2596, allocations: 30.89 kB / 498.2 MB, free: 21.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.035e-05/0.2597, allocations: 158.9 kB / 498.3 MB, free: 20.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/0.2597, allocations: 72.22 kB / 498.4 MB, free: 20.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.927e-05/0.2598, allocations: 52.31 kB / 498.4 MB, free: 20.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.79e-05/0.2598, allocations: 326.4 kB / 498.8 MB, free: 20.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.26, allocations: 85.22 kB / 498.8 MB, free: 20.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.2601, allocations: 128.5 kB / 499 MB, free: 20.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/0.2604, allocations: 214.5 kB / 499.2 MB, free: 20.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2604, allocations: 0 / 499.2 MB, free: 20.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005668/0.2609, allocations: 343.7 kB / 499.5 MB, free: 20.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.2609, allocations: 5.188 kB / 499.5 MB, free: 20.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.261, allocations: 1.25 kB / 499.5 MB, free: 20.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003687/0.2613, allocations: 70.16 kB / 499.6 MB, free: 20.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.2615, allocations: 54.09 kB / 499.6 MB, free: 20.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001696/0.2632, allocations: 2.879 MB / 0.4907 GB, free: 17.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.2634, allocations: 29.86 kB / 0.4908 GB, free: 17.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.2634, allocations: 6.688 kB / 0.4908 GB, free: 17.02 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.2635, allocations: 140.5 kB / 0.4909 GB, free: 16.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.2636, allocations: 20.72 kB / 0.4909 GB, free: 16.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005697/0.2641, allocations: 293.9 kB / 0.4912 GB, free: 16.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.2641, allocations: 3.25 kB / 0.4912 GB, free: 16.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.2642, allocations: 5.047 kB / 0.4912 GB, free: 16.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2642, allocations: 1.5 kB / 0.4912 GB, free: 16.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000671/0.2648, allocations: 0.5659 MB / 0.4918 GB, free: 16.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2648, allocations: 0 / 0.4918 GB, free: 16.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.2649, allocations: 26.33 kB / 0.4918 GB, free: 16.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002759/0.2652, allocations: 77.97 kB / 0.4919 GB, free: 16.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.2652, allocations: 5.438 kB / 0.4919 GB, free: 16.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001518/0.2667, allocations: 2.876 MB / 0.4947 GB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.2667, allocations: 1.156 kB / 0.4947 GB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005011/0.2672, allocations: 429.3 kB / 0.4951 GB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.314e-05/0.2673, allocations: 93.64 kB / 0.4952 GB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.2673, allocations: 6.359 kB / 0.4952 GB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.2675, allocations: 23.98 kB / 0.4952 GB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/0.2676, allocations: 15.23 kB / 0.4952 GB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.2676, allocations: 5.031 kB / 0.4952 GB, free: 12.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001394/0.2677, allocations: 158.2 kB / 0.4954 GB, free: 12.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2677, allocations: 0 / 0.4954 GB, free: 12.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004388/0.2682, allocations: 86.28 kB / 0.4955 GB, free: 12.52 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.0001692/0.2683, allocations: 110.2 kB / 0.4956 GB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006777/0.269, allocations: 439.7 kB / 0.496 GB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.269, allocations: 0 / 0.496 GB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000364/0.2694, allocations: 326 kB / 0.4963 GB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004586/0.2698, allocations: 25.67 kB / 0.4963 GB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006516/0.2705, allocations: 468.3 kB / 0.4968 GB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001655/0.2706, allocations: 0.7384 MB / 0.4975 GB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.052e-05/0.2707, allocations: 21 kB / 0.4975 GB, free: 10.73 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2707, allocations: 288 / 0.4975 GB, free: 10.73 MB / 366.1 MB Notification: Performance of Templates: time 0.007533/0.2782, allocations: 4.984 MB / 0.5024 GB, free: 8.094 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.484060927003156] Failed to read output from testmodel.py, exit status != 0: 0.28640781799913384 0.296300275 0.039884976 Calling exit ...