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.001443/0.001443, allocations: 81.11 kB / 19.98 MB, free: 1.59 MB / 14.72 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.001457/0.001457, allocations: 172.9 kB / 23.25 MB, free: 4.629 MB / 14.72 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.448/1.448, allocations: 177.1 MB / 203.6 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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.03895/0.03895, allocations: 4.481 MB / 264.4 MB, free: 12.2 MB / 254.1 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.994e-06/1.994e-06, allocations: 0 / 390.1 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.16e-05/3.359e-05, allocations: 2.281 kB / 390.1 MB, free: 12.63 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.00468/0.004714, allocations: 1.592 MB / 391.7 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003589/0.008303, allocations: 1.466 MB / 393.2 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.008436, allocations: 4 kB / 393.2 MB, free: 9.551 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006106/0.009046, allocations: 127.1 kB / 393.3 MB, free: 9.426 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004035/0.00945, allocations: 95.31 kB / 393.4 MB, free: 9.332 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002813/0.01226, allocations: 0.844 MB / 394.2 MB, free: 8.484 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004966/0.01276, allocations: 234.8 kB / 394.5 MB, free: 8.254 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002492/0.01301, allocations: 72.34 kB / 394.5 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002506/0.01326, allocations: 139.7 kB / 394.7 MB, free: 8.047 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003066/0.01357, allocations: 99.69 kB / 394.8 MB, free: 7.949 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.814e-05/0.01362, allocations: 20 kB / 394.8 MB, free: 7.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006179/0.01424, allocations: 211.6 kB / 395 MB, free: 7.723 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.915e-05/0.01432, allocations: 55.81 kB / 395 MB, free: 7.668 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.01449, allocations: 79.77 kB / 395.1 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009083/0.0154, allocations: 434.7 kB / 395.5 MB, free: 7.164 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.0154, allocations: 0 / 395.5 MB, free: 7.164 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.0154, allocations: 0 / 395.5 MB, free: 7.164 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.01541, allocations: 0 / 395.5 MB, free: 7.164 MB / 318.1 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.003904/0.01931, allocations: 0.6885 MB / 396.2 MB, free: 6.441 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.01935, allocations: 8.031 kB / 396.2 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.01947, allocations: 28.78 kB / 396.3 MB, free: 6.406 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004021/0.01987, allocations: 185.4 kB / 396.5 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.122e-05/0.01991, allocations: 20.88 kB / 396.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.456e-05/0.01999, allocations: 24.38 kB / 396.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008605/0.02085, allocations: 296.6 kB / 396.8 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.02087, allocations: 4.188 kB / 396.8 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.055e-05/0.02092, allocations: 12.38 kB / 396.8 MB, free: 5.844 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.02093, allocations: 4.375 kB / 396.8 MB, free: 5.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008156/0.02175, allocations: 305.8 kB / 397.1 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002271/0.02402, allocations: 0.7323 MB / 397.8 MB, free: 4.777 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008987/0.02492, allocations: 250.5 kB / 398.1 MB, free: 4.523 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003285/0.02525, allocations: 116.8 kB / 398.2 MB, free: 4.406 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000136/0.02538, allocations: 15.98 kB / 398.2 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.02543, allocations: 30.56 kB / 398.2 MB, free: 4.352 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 2.244e-06/0.02543, allocations: 0 / 398.2 MB, free: 4.352 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.001969/0.0274, allocations: 436.6 kB / 398.7 MB, free: 3.918 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.02745, allocations: 59.34 kB / 398.7 MB, free: 3.848 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.0277, allocations: 172.9 kB / 398.9 MB, free: 3.672 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.718e-05/0.02775, allocations: 33.7 kB / 398.9 MB, free: 3.633 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.0279, allocations: 152.6 kB / 399.1 MB, free: 3.48 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.02802, allocations: 95.17 kB / 399.2 MB, free: 3.387 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.0282, allocations: 61.55 kB / 399.2 MB, free: 3.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002295/0.02843, allocations: 326.8 kB / 399.5 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003581/0.02879, allocations: 124 kB / 399.7 MB, free: 2.871 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000371/0.02916, allocations: 129.4 kB / 399.8 MB, free: 2.746 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007762/0.02994, allocations: 281.2 kB / 400.1 MB, free: 2.469 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.02994, allocations: 0 / 400.1 MB, free: 2.469 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001264/0.0312, allocations: 398 kB / 400.5 MB, free: 2.07 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.03123, allocations: 8 kB / 400.5 MB, free: 2.062 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.03123, allocations: 0 / 400.5 MB, free: 2.062 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004335/0.03167, allocations: 48.81 kB / 400.5 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005615/0.03223, allocations: 67.89 kB / 400.6 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002402/0.03463, allocations: 1.413 MB / 402 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002939/0.03492, allocations: 19.88 kB / 402 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.412e-05/0.03497, allocations: 12 kB / 402 MB, free: 400 kB / 318.1 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): 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 0.0002317/0.0352, allocations: 146.1 kB / 402.2 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.565e-05/0.0353, allocations: 15.91 kB / 402.2 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/0.03645, allocations: 351.5 kB / 402.5 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.03646, allocations: 4 kB / 402.5 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.03646, allocations: 0 / 402.5 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.719e-06/0.03647, allocations: 3.938 kB / 402.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/0.03825, allocations: 0.628 MB / 403.2 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.03825, allocations: 0 / 403.2 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004165/0.03867, allocations: 43.92 kB / 403.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003726/0.03904, allocations: 52.81 kB / 403.3 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.154e-05/0.03907, allocations: 4 kB / 403.3 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002461/0.04153, allocations: 1.405 MB / 404.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/0.04154, allocations: 7.984 kB / 404.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.04255, allocations: 393.5 kB / 405.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.785e-05/0.04259, allocations: 20 kB / 405.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.04262, allocations: 11.98 kB / 405.1 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.04279, allocations: 7.938 kB / 405.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/0.04283, allocations: 27.84 kB / 405.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.04285, allocations: 4 kB / 405.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001253/0.04298, allocations: 135.1 kB / 405.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.04298, allocations: 0 / 405.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004144/0.04339, allocations: 79.89 kB / 405.3 MB, free: 12.9 MB / 334.1 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): 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.000208/0.0436, allocations: 115.2 kB / 405.4 MB, free: 12.78 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008601/0.04446, allocations: 390.5 kB / 405.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.04446, allocations: 0 / 405.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004896/0.04495, allocations: 238.5 kB / 406.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.04522, allocations: 15.98 kB / 406.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009456/0.04616, allocations: 445.7 kB / 406.5 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.04631, allocations: 129.2 kB / 406.6 MB, free: 11.51 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001182/0.04643, allocations: 25.61 kB / 406.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.795e-05/0.04651, allocations: 28.5 kB / 406.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.04651, allocations: 0 / 406.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of Templates: time 0.007574/0.05408, allocations: 2.684 MB / 409.4 MB, free: 8.801 MB / 334.1 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=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.5021314434707165] Failed to read output from testmodel.py, exit status != 0: 0.06561760976910591 0.077896186 0.059125819 Calling exit ...