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.001955/0.001955, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002145/0.002145, allocations: 169.3 kB / 24.28 MB, free: 148 kB / 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 1.301/1.301, allocations: 158.6 MB / 186.1 MB, free: 2.902 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.2713/0.2713, allocations: 36.34 MB / 274.7 MB, free: 10.71 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 1.262e-06/1.262e-06, allocations: 0 / 353 MB, free: 3.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.36e-05, allocations: 9.688 kB / 353.1 MB, free: 3.789 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.003256/0.003279, allocations: 2.897 MB / 356 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.004623, allocations: 0.7995 MB / 356.8 MB, free: 60 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002318/0.004855, allocations: 7.938 kB / 356.8 MB, free: 52 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.005017, allocations: 51.39 kB / 356.8 MB, free: 0 / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000413/0.00543, allocations: 154.8 kB / 357 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.005704, allocations: 115.8 kB / 357.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006201/0.006324, allocations: 0.4942 MB / 357.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000218/0.006542, allocations: 88.7 kB / 357.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004188/0.006961, allocations: 287.2 kB / 357.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.007236, allocations: 151.5 kB / 358.1 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.793e-05/0.007304, allocations: 35.94 kB / 358.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.007408, allocations: 39.94 kB / 358.2 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.556e-05/0.007503, allocations: 87.59 kB / 358.2 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.007692, allocations: 147.6 kB / 358.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005556/0.008247, allocations: 398.5 kB / 358.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.008251, allocations: 3.938 kB / 358.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.008252, allocations: 0 / 358.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.008259, allocations: 0 / 358.8 MB, free: 14.02 MB / 298.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.001494/0.009753, allocations: 0.8145 MB / 359.6 MB, free: 13.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.009786, allocations: 12.03 kB / 359.6 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001828/0.009969, allocations: 80.55 kB / 359.7 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005/0.01047, allocations: 302.7 kB / 360 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.0105, allocations: 21.03 kB / 360 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.706e-05/0.01057, allocations: 40.31 kB / 360 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005597/0.01112, allocations: 307 kB / 360.3 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.01114, allocations: 4.172 kB / 360.3 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.425e-05/0.01118, allocations: 19.94 kB / 360.4 MB, free: 12.35 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.01119, allocations: 8 kB / 360.4 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004245/0.01161, allocations: 194.5 kB / 360.6 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.01354, allocations: 1.148 MB / 361.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004441/0.01398, allocations: 239.5 kB / 361.9 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.0142, allocations: 115 kB / 362.1 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.01423, allocations: 4 kB / 362.1 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.01427, allocations: 41.33 kB / 362.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.313e-06/0.01427, allocations: 7.938 kB / 362.1 MB, free: 10.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.001864/0.01614, allocations: 0.7882 MB / 362.9 MB, free: 9.703 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.01619, allocations: 55.41 kB / 362.9 MB, free: 9.637 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005366/0.01673, allocations: 450.7 kB / 363.4 MB, free: 9.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.01677, allocations: 29.7 kB / 363.4 MB, free: 9.145 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.01699, allocations: 271.3 kB / 363.7 MB, free: 8.871 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.01712, allocations: 134.9 kB / 363.8 MB, free: 8.738 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.01725, allocations: 75.73 kB / 363.9 MB, free: 8.652 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003126/0.01756, allocations: 0.5352 MB / 364.4 MB, free: 8.105 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.01776, allocations: 84.7 kB / 364.5 MB, free: 8.023 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002486/0.01801, allocations: 163.6 kB / 364.7 MB, free: 7.844 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004363/0.01844, allocations: 253.9 kB / 364.9 MB, free: 7.574 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.01844, allocations: 0 / 364.9 MB, free: 7.574 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001067/0.01951, allocations: 432.4 kB / 365.3 MB, free: 7.141 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.01953, allocations: 4 kB / 365.3 MB, free: 7.137 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.01954, allocations: 4 kB / 365.3 MB, free: 7.133 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008878/0.02043, allocations: 159.6 kB / 365.5 MB, free: 6.973 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000452/0.02088, allocations: 87.88 kB / 365.6 MB, free: 6.887 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004478/0.02536, allocations: 4.181 MB / 369.8 MB, free: 2.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002509/0.02561, allocations: 20.02 kB / 369.8 MB, free: 2.441 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.843e-05/0.02565, allocations: 12 kB / 369.8 MB, free: 2.43 MB / 298.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 0.0002265/0.02587, allocations: 196.5 kB / 370 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.298e-05/0.02597, allocations: 51.7 kB / 370 MB, free: 2.176 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000574/0.02654, allocations: 297.9 kB / 370.3 MB, free: 1.875 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.02655, allocations: 4 kB / 370.3 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.02655, allocations: 0 / 370.3 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.02655, allocations: 0 / 370.3 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.02777, allocations: 0.7398 MB / 371.1 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.02778, allocations: 0 / 371.1 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004066/0.02818, allocations: 75.89 kB / 371.1 MB, free: 1.016 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.02819, allocations: 4 kB / 371.2 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.02821, allocations: 4 kB / 371.2 MB, free: 1.008 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.02821, allocations: 0 / 371.2 MB, free: 1.008 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.02822, allocations: 4 kB / 371.2 MB, free: 1.004 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008207/0.02904, allocations: 0.544 MB / 371.7 MB, free: 452 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.02918, allocations: 59.67 kB / 371.8 MB, free: 392 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.837e-05/0.02923, allocations: 16 kB / 371.8 MB, free: 376 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.02943, allocations: 8 kB / 371.8 MB, free: 368 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.429e-05/0.0295, allocations: 23.89 kB / 371.8 MB, free: 344 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.02953, allocations: 11.94 kB / 371.8 MB, free: 332 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003382/0.02987, allocations: 307.1 kB / 372.1 MB, free: 32 kB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02987, allocations: 0 / 372.1 MB, free: 32 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004076/0.03027, allocations: 88.08 kB / 372.2 MB, free: 15.94 MB / 314.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 0.0001345/0.03041, allocations: 99.19 kB / 372.3 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.03148, allocations: 0.4997 MB / 372.8 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.03148, allocations: 0 / 372.8 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002412/0.03172, allocations: 135.4 kB / 372.9 MB, free: 15.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005282/0.03225, allocations: 77.69 kB / 373 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.03412, allocations: 0.9509 MB / 374 MB, free: 14.11 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.03435, allocations: 211.8 kB / 374.2 MB, free: 13.89 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001565/0.03451, allocations: 46.88 kB / 374.2 MB, free: 13.84 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.03462, allocations: 32.5 kB / 374.2 MB, free: 13.81 MB / 314.7 MB Notification: Performance of SimCode: time 6.71e-07/0.03462, allocations: 0 / 374.2 MB, free: 13.81 MB / 314.7 MB Notification: Performance of Templates: time 0.011/0.04562, allocations: 4.617 MB / 378.9 MB, free: 9.223 MB / 314.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: 4.862042755936272]