Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.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.001294/0.001294, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001408/0.001408, allocations: 213.7 kB / 23.75 MB, free: 4.668 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.38/1.38, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.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.1497/0.1497, allocations: 26.82 MB / 340.8 MB, free: 8.18 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: "" <> buildModelFMU(ThermoPower.Test.ElectricalComponents.TestElectrical6,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_ElectricalComponents_TestElectrical6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.ElectricalComponents.TestElectrical6,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_ElectricalComponents_TestElectrical6",fmuType="me",version="2.0",platforms={"static"}) [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.002253/0.002253, allocations: 71.83 kB / 476.8 MB, free: 3.664 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3104, allocations: 60.47 MB / 0.5247 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.003971/0.3144, allocations: 2.994 MB / 0.5276 GB, free: 7.434 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.3161, allocations: 0.824 MB / 0.5284 GB, free: 6.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000345/0.3164, allocations: 9.531 kB / 0.5285 GB, free: 6.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002217/0.3167, allocations: 57.72 kB / 0.5285 GB, free: 6.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005029/0.3172, allocations: 138.4 kB / 0.5286 GB, free: 6.703 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.3175, allocations: 114 kB / 0.5288 GB, free: 6.645 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000616/0.3181, allocations: 0.4885 MB / 0.5292 GB, free: 6.391 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002233/0.3183, allocations: 94.16 kB / 0.5293 GB, free: 6.336 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003808/0.3187, allocations: 204.9 kB / 0.5295 GB, free: 6.242 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000296/0.319, allocations: 207.6 kB / 0.5297 GB, free: 6.137 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.757e-05/0.3191, allocations: 32.56 kB / 0.5297 GB, free: 6.137 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.3192, allocations: 35.16 kB / 0.5298 GB, free: 6.137 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.585e-05/0.3192, allocations: 96.03 kB / 0.5299 GB, free: 6.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.3194, allocations: 217.1 kB / 0.5301 GB, free: 5.934 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006316/0.32, allocations: 404.5 kB / 0.5305 GB, free: 5.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.32, allocations: 4.5 kB / 0.5305 GB, free: 5.746 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.32, allocations: 4.469 kB / 0.5305 GB, free: 5.742 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.34e-05/0.3201, allocations: 0 / 0.5305 GB, free: 5.742 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001469/0.3215, allocations: 0.6911 MB / 0.5311 GB, free: 5.242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.3216, allocations: 9.375 kB / 0.5312 GB, free: 5.242 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.636e-05/0.3217, allocations: 67.09 kB / 0.5312 GB, free: 5.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.3218, allocations: 54.16 kB / 0.5313 GB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000564/0.3224, allocations: 304.2 kB / 0.5316 GB, free: 4.922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/0.3224, allocations: 21.75 kB / 0.5316 GB, free: 4.914 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.359e-05/0.3225, allocations: 42.14 kB / 0.5316 GB, free: 4.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004869/0.323, allocations: 300.1 kB / 0.5319 GB, free: 4.742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.323, allocations: 1.125 kB / 0.5319 GB, free: 4.742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/0.323, allocations: 11.34 kB / 0.5319 GB, free: 4.734 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.323, allocations: 6.906 kB / 0.5319 GB, free: 4.734 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003797/0.3234, allocations: 205.2 kB / 0.5321 GB, free: 4.676 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001762/0.3252, allocations: 1.046 MB / 0.5331 GB, free: 3.973 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003744/0.3255, allocations: 230.7 kB / 0.5334 GB, free: 3.867 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.3257, allocations: 107.7 kB / 0.5335 GB, free: 3.824 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.446e-05/0.3257, allocations: 3.812 kB / 0.5335 GB, free: 3.824 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.3258, allocations: 44.67 kB / 0.5335 GB, free: 3.773 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 2.685e-06/0.3258, allocations: 3.984 kB / 0.5335 GB, free: 3.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.001766/0.3275, allocations: 0.7971 MB / 0.5343 GB, free: 3.316 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.3276, allocations: 55.66 kB / 0.5343 GB, free: 3.254 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003829/0.328, allocations: 364.5 kB / 0.5347 GB, free: 3.059 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.328, allocations: 36.3 kB / 0.5347 GB, free: 3.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.3281, allocations: 204.1 kB / 0.5349 GB, free: 2.848 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.532e-05/0.3282, allocations: 126.6 kB / 0.535 GB, free: 2.746 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.965e-05/0.3283, allocations: 75.22 kB / 0.5351 GB, free: 2.695 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.237e-05/0.3283, allocations: 351.9 kB / 0.5354 GB, free: 2.363 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.3285, allocations: 89.58 kB / 0.5355 GB, free: 2.332 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.3287, allocations: 141.1 kB / 0.5357 GB, free: 2.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00033/0.329, allocations: 233.5 kB / 0.5359 GB, free: 2.121 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.329, allocations: 0 / 0.5359 GB, free: 2.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009487/0.33, allocations: 421.9 kB / 0.5363 GB, free: 1.938 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.33, allocations: 8.891 kB / 0.5363 GB, free: 1.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.33, allocations: 1.156 kB / 0.5363 GB, free: 1.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006157/0.3306, allocations: 124.6 kB / 0.5364 GB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000433/0.3311, allocations: 88.28 kB / 0.5365 GB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003195/0.3343, allocations: 3.141 MB / 0.5396 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003627/0.3346, allocations: 19.48 kB / 0.5396 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.019e-05/0.3346, allocations: 13.06 kB / 0.5396 GB, free: 15.02 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (36): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002427/0.3349, allocations: 154.7 kB / 0.5398 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.263e-05/0.335, allocations: 38.08 kB / 0.5398 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000599/0.3356, allocations: 303 kB / 0.5401 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.3356, allocations: 7.391 kB / 0.5401 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3356, allocations: 3.938 kB / 0.5401 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.3356, allocations: 2.938 kB / 0.5401 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.3368, allocations: 0.7245 MB / 0.5408 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.3369, allocations: 0 / 0.5408 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004/0.3373, allocations: 76.02 kB / 0.5409 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.3373, allocations: 5.625 kB / 0.5409 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/0.3373, allocations: 10.5 kB / 0.5409 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.3373, allocations: 1.25 kB / 0.5409 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3373, allocations: 2.078 kB / 0.5409 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007362/0.338, allocations: 0.491 MB / 0.5414 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/0.3382, allocations: 61.06 kB / 0.5414 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.085e-05/0.3383, allocations: 5.891 kB / 0.5414 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.3385, allocations: 13.78 kB / 0.5414 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.013e-05/0.3386, allocations: 21.53 kB / 0.5415 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.3386, allocations: 7.125 kB / 0.5415 GB, free: 13.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003221/0.3389, allocations: 256.1 kB / 0.5417 GB, free: 13.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3389, allocations: 1.5 kB / 0.5417 GB, free: 13.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004591/0.3394, allocations: 85.47 kB / 0.5418 GB, free: 13.76 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt,torqueGen_a.y,torqueGen_b.y) * 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 (34): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001145/0.3405, allocations: 1.03 MB / 0.5428 GB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.3416, allocations: 435.8 kB / 0.5432 GB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3416, allocations: 0 / 0.5432 GB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002275/0.3418, allocations: 123.3 kB / 0.5433 GB, free: 12.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005999/0.3424, allocations: 77.05 kB / 0.5434 GB, free: 12.64 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006885/0.3493, allocations: 3.981 MB / 0.5473 GB, free: 9.977 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005317/0.3498, allocations: 0.8198 MB / 0.5481 GB, free: 9.219 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002457/0.3501, allocations: 43.34 kB / 0.5481 GB, free: 9.199 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000251/0.3503, allocations: 144.3 kB / 0.5483 GB, free: 9.078 MB / 398.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3503, allocations: 0 / 0.5483 GB, free: 9.078 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04651/0.3968, allocations: 9.103 MB / 0.5572 GB, free: 3.234 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/12.92, allocations: 18.72 kB / 0.5572 GB, free: 3.223 MB / 398.1 MB " [Timeout remaining time 647] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_4_0_0-dev_ThermoPower_Test_ElectricalComponents_TestElectrical6_fmu --startTime=0 --stopTime=40 --stepSize=0.016 --timeout=50 --tolerance=1e-06 ThermoPower_4_0_0-dev_ThermoPower_Test_ElectricalComponents_TestElectrical6.fmu > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.472787137026899] Failed to read output from testmodel.py, exit status != 0: 13.0436490860302 13.056993004 12.733908343 Calling exit ...