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.001328/0.001328, allocations: 75.2 kB / 21.28 MB, free: 384 kB / 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.001428/0.001428, allocations: 163.8 kB / 24.53 MB, free: 3.59 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.392/1.392, allocations: 177.2 MB / 204.9 MB, free: 9.281 MB / 190.1 MB " [Timeout remaining time 179] 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.1351/0.1351, 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.002134/0.002134, allocations: 67.91 kB / 417.6 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3094, allocations: 60.46 MB / 478.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.003566/0.313, allocations: 2.189 MB / 480.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.3142, allocations: 0.6203 MB / 480.9 MB, free: 13.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.3143, allocations: 7.594 kB / 480.9 MB, free: 13.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.3145, allocations: 37.88 kB / 480.9 MB, free: 13.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003082/0.3148, allocations: 80.67 kB / 481 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.315, allocations: 60.16 kB / 481 MB, free: 13.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000341/0.3153, allocations: 291.8 kB / 481.3 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.3155, allocations: 43.5 kB / 481.4 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002943/0.3158, allocations: 180.2 kB / 481.5 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.3159, allocations: 109.6 kB / 481.7 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.344e-05/0.316, allocations: 19.34 kB / 481.7 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.574e-05/0.316, allocations: 21.25 kB / 481.7 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.474e-05/0.3161, allocations: 45.33 kB / 481.7 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.3162, allocations: 107.8 kB / 481.8 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003226/0.3166, allocations: 227.8 kB / 482.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3166, allocations: 1.062 kB / 482.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3166, allocations: 4 kB / 482.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.3166, allocations: 0 / 482.1 MB, free: 12.59 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.0009784/0.3175, allocations: 0.4945 MB / 482.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.3176, allocations: 8.875 kB / 482.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.3177, allocations: 36.5 kB / 482.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004128/0.3181, allocations: 218 kB / 482.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.723e-05/0.3182, allocations: 69.09 kB / 482.9 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.507e-05/0.3182, allocations: 19.56 kB / 482.9 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003726/0.3186, allocations: 175.9 kB / 483.1 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.3186, allocations: 5.234 kB / 483.1 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.3187, allocations: 9.375 kB / 483.1 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3187, allocations: 3.594 kB / 483.1 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003099/0.319, allocations: 130.2 kB / 483.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000948/0.3199, allocations: 0.5259 MB / 483.8 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003792/0.3203, allocations: 150.2 kB / 483.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.3205, allocations: 71.48 kB / 484 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.3205, allocations: 6.312 kB / 484 MB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.3205, allocations: 36.19 kB / 484 MB, free: 11.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.492e-06/0.3205, allocations: 0 / 484 MB, free: 11.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001179/0.3217, allocations: 0.5158 MB / 484.5 MB, free: 10.69 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.3217, allocations: 58.22 kB / 484.6 MB, free: 10.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/0.322, allocations: 234.6 kB / 484.8 MB, free: 10.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.322, allocations: 30.98 kB / 484.8 MB, free: 10.42 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.3221, allocations: 151.8 kB / 485 MB, free: 10.28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.91e-05/0.3222, allocations: 78.98 kB / 485.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-05/0.3223, allocations: 36.97 kB / 485.1 MB, free: 10.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.3225, allocations: 339.9 kB / 485.4 MB, free: 9.844 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.3226, allocations: 55.44 kB / 485.5 MB, free: 9.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.3228, allocations: 86.73 kB / 485.6 MB, free: 9.766 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002885/0.3231, allocations: 146.7 kB / 485.7 MB, free: 9.688 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3231, allocations: 0 / 485.7 MB, free: 9.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003879/0.3234, allocations: 203.7 kB / 485.9 MB, free: 9.578 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.3235, allocations: 6.062 kB / 485.9 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3235, allocations: 0 / 485.9 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.3235, allocations: 2.25 kB / 485.9 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004333/0.3239, allocations: 83.92 kB / 486 MB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.3239, allocations: 2.219 kB / 486 MB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.3241, allocations: 12.48 kB / 486 MB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.3241, allocations: 9.656 kB / 486 MB, free: 9.543 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.0001536/0.3242, allocations: 130.9 kB / 486.2 MB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.137e-05/0.3243, allocations: 22.52 kB / 486.2 MB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.75e-05/0.3244, allocations: 34.77 kB / 486.2 MB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3244, allocations: 2.312 kB / 486.2 MB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3244, allocations: 0 / 486.2 MB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.3244, allocations: 5.125 kB / 486.2 MB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007694/0.3251, allocations: 467.7 kB / 486.7 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3251, allocations: 0 / 486.7 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003724/0.3255, allocations: 64.56 kB / 486.7 MB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3255, allocations: 1.219 kB / 486.7 MB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.3255, allocations: 5 kB / 486.7 MB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3255, allocations: 1 kB / 486.7 MB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3255, allocations: 5.375 kB / 486.8 MB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005797/0.3261, allocations: 361.5 kB / 487.1 MB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.867e-05/0.3262, allocations: 31.73 kB / 487.1 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.3262, allocations: 2.531 kB / 487.1 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.3264, allocations: 12.17 kB / 487.2 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.239e-05/0.3264, allocations: 17.19 kB / 487.2 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.3265, allocations: 2.375 kB / 487.2 MB, free: 8.688 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001903/0.3266, allocations: 178.2 kB / 487.3 MB, free: 8.562 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3266, allocations: 4 kB / 487.4 MB, free: 8.559 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002832/0.3269, allocations: 43.12 kB / 487.4 MB, free: 8.555 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.0001092/0.327, allocations: 98.66 kB / 487.5 MB, free: 8.461 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003623/0.3274, allocations: 138.5 kB / 487.6 MB, free: 8.406 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3274, allocations: 1.562 kB / 487.6 MB, free: 8.406 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.3276, allocations: 71.19 kB / 487.7 MB, free: 8.363 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.3279, allocations: 43.55 kB / 487.7 MB, free: 8.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.3292, allocations: 0.6814 MB / 488.4 MB, free: 7.609 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.3293, allocations: 134.1 kB / 488.6 MB, free: 7.449 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.147e-05/0.3294, allocations: 20.5 kB / 488.6 MB, free: 7.43 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3294, allocations: 4 kB / 488.6 MB, free: 7.426 MB / 382.1 MB Notification: Performance of Templates: time 0.005007/0.3344, allocations: 2.745 MB / 491.3 MB, free: 4.688 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 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.7683473019860685] Failed to read output from testmodel.py, exit status != 0: 0.3436392149887979 0.35844417799999995 0.038699581000000004 Calling exit ...