Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.0009067/0.0009067, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001041/0.001041, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8357/0.8357, allocations: 158.6 MB / 187.5 MB, free: 2.801 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.1596/0.1596, allocations: 36.34 MB / 276.2 MB, free: 14.37 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.544e-06/2.544e-06, allocations: 0.6094 kB / 355 MB, free: 62.66 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.198e-05/1.453e-05, allocations: 3.297 kB / 355 MB, free: 62.66 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.002951/0.002966, allocations: 2.897 MB / 357.9 MB, free: 61.12 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.004228, allocations: 0.7925 MB / 358.7 MB, free: 60.59 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001785/0.004406, allocations: 10.12 kB / 358.7 MB, free: 60.58 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.004524, allocations: 55.53 kB / 358.8 MB, free: 60.54 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000307/0.004831, allocations: 157 kB / 358.9 MB, free: 60.43 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.005081, allocations: 114.3 kB / 359.1 MB, free: 60.37 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00038/0.005461, allocations: 0.5034 MB / 359.6 MB, free: 60.11 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.005608, allocations: 89.47 kB / 359.6 MB, free: 60.06 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002779/0.005886, allocations: 277.3 kB / 359.9 MB, free: 59.95 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.006078, allocations: 154.5 kB / 360.1 MB, free: 59.9 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.392e-05/0.006122, allocations: 36.16 kB / 360.1 MB, free: 59.89 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.529e-05/0.006188, allocations: 35.86 kB / 360.1 MB, free: 59.89 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.111e-05/0.006239, allocations: 90.69 kB / 360.2 MB, free: 59.83 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.006343, allocations: 144.3 kB / 360.4 MB, free: 59.77 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.006621, allocations: 295.1 kB / 360.7 MB, free: 59.63 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.552e-06/0.006622, allocations: 1.094 kB / 360.7 MB, free: 59.63 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.006623, allocations: 0 / 360.7 MB, free: 59.63 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.006629, allocations: 3.938 kB / 360.7 MB, free: 59.62 MB / 330.7 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.000751/0.00738, allocations: 0.7919 MB / 361.5 MB, free: 59.01 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.775e-05/0.007408, allocations: 9.75 kB / 361.5 MB, free: 59.01 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.007527, allocations: 77.27 kB / 361.5 MB, free: 58.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.007778, allocations: 304.8 kB / 361.8 MB, free: 58.74 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.007796, allocations: 22.28 kB / 361.9 MB, free: 58.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.998e-05/0.007836, allocations: 34.45 kB / 361.9 MB, free: 58.72 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.00809, allocations: 246.5 kB / 362.1 MB, free: 58.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.008104, allocations: 4.125 kB / 362.1 MB, free: 58.58 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.008119, allocations: 14.62 kB / 362.2 MB, free: 58.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.008128, allocations: 8.297 kB / 362.2 MB, free: 58.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.008278, allocations: 108.9 kB / 362.3 MB, free: 58.56 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008875/0.009166, allocations: 0.995 MB / 363.3 MB, free: 57.81 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.009347, allocations: 170.9 kB / 363.4 MB, free: 57.75 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.11e-05/0.009418, allocations: 66.47 kB / 363.5 MB, free: 57.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.009434, allocations: 4.562 kB / 363.5 MB, free: 57.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.293e-05/0.009447, allocations: 45.02 kB / 363.5 MB, free: 57.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 1.352e-06/0.009449, allocations: 0 / 363.5 MB, free: 57.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.0007842/0.01023, allocations: 0.5625 MB / 364.1 MB, free: 57.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.584e-05/0.01025, allocations: 56.19 kB / 364.2 MB, free: 57.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.01045, allocations: 376.5 kB / 364.5 MB, free: 57.08 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.01046, allocations: 35.75 kB / 364.6 MB, free: 57.04 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.725e-05/0.01055, allocations: 263.3 kB / 364.8 MB, free: 56.81 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.464e-05/0.0106, allocations: 126.8 kB / 364.9 MB, free: 56.71 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.739e-05/0.01067, allocations: 75.25 kB / 365 MB, free: 56.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.809e-05/0.01074, allocations: 0.5213 MB / 365.5 MB, free: 56.14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.216e-05/0.01079, allocations: 36.56 kB / 365.6 MB, free: 56.14 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.823e-05/0.01087, allocations: 104.4 kB / 365.7 MB, free: 56.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.01102, allocations: 164.2 kB / 365.8 MB, free: 55.97 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.01102, allocations: 0 / 365.8 MB, free: 55.97 MB / 330.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004379/0.01146, allocations: 327.4 kB / 366.2 MB, free: 55.85 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.01147, allocations: 6 kB / 366.2 MB, free: 55.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.01148, allocations: 5.797 kB / 366.2 MB, free: 55.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004292/0.0119, allocations: 141.3 kB / 366.3 MB, free: 55.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/0.01215, allocations: 87.27 kB / 366.4 MB, free: 55.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/0.01363, allocations: 3.884 MB / 370.3 MB, free: 52.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.01374, allocations: 10.33 kB / 370.3 MB, free: 52.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.01376, allocations: 10.77 kB / 370.3 MB, free: 52.09 MB / 330.7 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 7.563e-05/0.01383, allocations: 178.5 kB / 370.5 MB, free: 51.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.521e-05/0.01389, allocations: 52.62 kB / 370.5 MB, free: 51.89 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000213/0.0141, allocations: 242.8 kB / 370.8 MB, free: 51.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-06/0.01411, allocations: 4.062 kB / 370.8 MB, free: 51.77 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-06/0.01411, allocations: 0 / 370.8 MB, free: 51.77 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.01411, allocations: 3.281 kB / 370.8 MB, free: 51.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005069/0.01462, allocations: 0.5342 MB / 371.3 MB, free: 51.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.01462, allocations: 5.281 kB / 371.3 MB, free: 51.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/0.01485, allocations: 77.38 kB / 371.4 MB, free: 51.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.01486, allocations: 1.531 kB / 371.4 MB, free: 51.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.01487, allocations: 15.98 kB / 371.4 MB, free: 51.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01487, allocations: 1.219 kB / 371.4 MB, free: 51.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01487, allocations: 1.406 kB / 371.4 MB, free: 51.39 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.01519, allocations: 431.5 kB / 371.8 MB, free: 51.13 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.506e-05/0.01527, allocations: 61.3 kB / 371.9 MB, free: 51.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.0153, allocations: 6.781 kB / 371.9 MB, free: 51.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.931e-05/0.0154, allocations: 7.281 kB / 371.9 MB, free: 51.09 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.01543, allocations: 22.88 kB / 371.9 MB, free: 51.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.01544, allocations: 3.781 kB / 371.9 MB, free: 51.08 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001183/0.01556, allocations: 250 kB / 372.2 MB, free: 50.94 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01556, allocations: 4 kB / 372.2 MB, free: 50.93 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002745/0.01584, allocations: 90.06 kB / 372.3 MB, free: 50.92 MB / 330.7 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 6.274e-05/0.0159, allocations: 102.6 kB / 372.4 MB, free: 50.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004317/0.01633, allocations: 417.3 kB / 372.8 MB, free: 50.58 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01633, allocations: 1.094 kB / 372.8 MB, free: 50.58 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.349e-05/0.01642, allocations: 95.28 kB / 372.9 MB, free: 50.54 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.01673, allocations: 79.17 kB / 372.9 MB, free: 50.49 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.01789, allocations: 0.9334 MB / 373.9 MB, free: 49.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.763e-05/0.01795, allocations: 110.4 kB / 374 MB, free: 49.73 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.01805, allocations: 37.95 kB / 374 MB, free: 49.72 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.0182, allocations: 129.5 kB / 374.1 MB, free: 49.64 MB / 330.7 MB Notification: Performance of SimCode: time 7.91e-07/0.0182, allocations: 0 / 374.1 MB, free: 49.64 MB / 330.7 MB Notification: Performance of Templates: time 0.00635/0.02455, allocations: 5.01 MB / 379.2 MB, free: 46.15 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.000275223981589]