Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.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.001382/0.001382, allocations: 78.09 kB / 21.27 MB, free: 0.5352 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.002257/0.002257, allocations: 163.3 kB / 24.54 MB, free: 3.836 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.795/1.795, allocations: 177.2 MB / 204.9 MB, free: 9.277 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.2019/0.2019, allocations: 19.71 MB / 281 MB, free: 13.06 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/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(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004378/0.004378, allocations: 75.83 kB / 417.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3189, allocations: 60.45 MB / 478.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.004315/0.3232, allocations: 2.196 MB / 480.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.3246, allocations: 0.6199 MB / 480.9 MB, free: 13.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.3248, allocations: 7 kB / 480.9 MB, free: 13.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.3249, allocations: 30.31 kB / 480.9 MB, free: 13.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003068/0.3252, allocations: 91.89 kB / 481 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.3254, allocations: 54.16 kB / 481 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004025/0.3258, allocations: 286 kB / 481.3 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.326, allocations: 51.83 kB / 481.4 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003323/0.3263, allocations: 181.2 kB / 481.6 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.3265, allocations: 106.6 kB / 481.7 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.827e-05/0.3266, allocations: 17.5 kB / 481.7 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.321e-05/0.3267, allocations: 20.94 kB / 481.7 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.048e-05/0.3267, allocations: 54.31 kB / 481.8 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.3269, allocations: 100.3 kB / 481.8 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003819/0.3273, allocations: 231.3 kB / 482.1 MB, free: 12.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3273, allocations: 1.219 kB / 482.1 MB, free: 12.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3273, allocations: 0 / 482.1 MB, free: 12.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.3273, allocations: 4 kB / 482.1 MB, free: 12.57 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001132/0.3284, allocations: 0.4961 MB / 482.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.3284, allocations: 9.469 kB / 482.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/0.3286, allocations: 32.53 kB / 482.6 MB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004597/0.329, allocations: 213.5 kB / 482.8 MB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.92e-05/0.3291, allocations: 72.66 kB / 482.9 MB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.417e-05/0.3292, allocations: 16.78 kB / 482.9 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004564/0.3296, allocations: 187.8 kB / 483.1 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.3296, allocations: 5.172 kB / 483.1 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.3297, allocations: 5.062 kB / 483.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.3297, allocations: 3.594 kB / 483.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000379/0.33, allocations: 126.9 kB / 483.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.3312, allocations: 0.5327 MB / 483.8 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004886/0.3317, allocations: 135.5 kB / 483.9 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/0.3319, allocations: 82.48 kB / 484 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.3319, allocations: 6.812 kB / 484 MB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.3319, allocations: 31.81 kB / 484 MB, free: 11.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.704e-06/0.3319, allocations: 4 kB / 484 MB, free: 11.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001409/0.3334, allocations: 0.5037 MB / 484.5 MB, free: 10.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.3334, allocations: 57.62 kB / 484.6 MB, free: 10.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.3337, allocations: 236.3 kB / 484.8 MB, free: 10.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.3337, allocations: 30.83 kB / 484.8 MB, free: 10.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.3339, allocations: 159.7 kB / 485 MB, free: 10.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.268e-05/0.334, allocations: 67.02 kB / 485.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.427e-05/0.3341, allocations: 44.98 kB / 485.1 MB, free: 10.17 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.3342, allocations: 336.2 kB / 485.4 MB, free: 9.836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.3344, allocations: 54.62 kB / 485.5 MB, free: 9.812 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.3346, allocations: 83.02 kB / 485.6 MB, free: 9.762 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003861/0.335, allocations: 146.8 kB / 485.7 MB, free: 9.684 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.335, allocations: 4 kB / 485.7 MB, free: 9.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005053/0.3355, allocations: 200.2 kB / 485.9 MB, free: 9.574 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3355, allocations: 5.125 kB / 485.9 MB, free: 9.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.3356, allocations: 1.094 kB / 485.9 MB, free: 9.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.3356, allocations: 1.25 kB / 485.9 MB, free: 9.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005191/0.3361, allocations: 76.52 kB / 486 MB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.3361, allocations: 9.109 kB / 486 MB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.3363, allocations: 9.875 kB / 486 MB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.3363, allocations: 12.36 kB / 486 MB, free: 9.539 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001546/0.3365, allocations: 135.4 kB / 486.2 MB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.386e-05/0.3365, allocations: 21.55 kB / 486.2 MB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.889e-05/0.3366, allocations: 31.64 kB / 486.2 MB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.3366, allocations: 2.281 kB / 486.2 MB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.3366, allocations: 5.562 kB / 486.2 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.3366, allocations: 3.984 kB / 486.2 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009829/0.3376, allocations: 475.8 kB / 486.7 MB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3376, allocations: 0 / 486.7 MB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004755/0.3381, allocations: 59.89 kB / 486.7 MB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3381, allocations: 1.156 kB / 486.7 MB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.3381, allocations: 6.344 kB / 486.8 MB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.3381, allocations: 3.938 kB / 486.8 MB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.3381, allocations: 1.25 kB / 486.8 MB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007172/0.3388, allocations: 365.9 kB / 487.1 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.3389, allocations: 31.75 kB / 487.1 MB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.048e-05/0.339, allocations: 5.375 kB / 487.1 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.3392, allocations: 13.45 kB / 487.2 MB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.112e-05/0.3393, allocations: 8.203 kB / 487.2 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.3393, allocations: 3.312 kB / 487.2 MB, free: 8.676 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002158/0.3395, allocations: 177.5 kB / 487.3 MB, free: 8.551 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3395, allocations: 0 / 487.3 MB, free: 8.551 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003861/0.3399, allocations: 47.19 kB / 487.4 MB, free: 8.543 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (generator.phi,generator.omega_m,generator.omega_e_filt,grid.port.theta) * Number of discrete variables: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001124/0.34, allocations: 102.3 kB / 487.5 MB, free: 8.445 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004635/0.3404, allocations: 143.8 kB / 487.6 MB, free: 8.387 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3404, allocations: 0 / 487.6 MB, free: 8.387 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002073/0.3407, allocations: 73.16 kB / 487.7 MB, free: 8.344 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005269/0.3412, allocations: 40.53 kB / 487.7 MB, free: 8.301 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.3427, allocations: 0.6446 MB / 488.4 MB, free: 7.633 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001685/0.3428, allocations: 138.1 kB / 488.5 MB, free: 7.469 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001194/0.3429, allocations: 33.92 kB / 488.6 MB, free: 7.434 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.434e-05/0.343, allocations: 20.5 kB / 488.6 MB, free: 7.414 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.343, allocations: 0 / 488.6 MB, free: 7.414 MB / 382.1 MB Notification: Performance of Templates: time 0.007099/0.3501, allocations: 2.051 MB / 490.6 MB, free: 5.395 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.421792263048701] Failed to read output from testmodel.py, exit status != 0: 0.37852151691913605 0.40807450799999995 0.073511792 Calling exit ...