Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.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.002416/0.002416, allocations: 87.67 kB / 20.96 MB, free: 3.457 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.002791/0.002791, allocations: 165.3 kB / 24.27 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.262/1.262, allocations: 158.6 MB / 186.1 MB, free: 2.898 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.2623/0.2623, allocations: 36.34 MB / 274.7 MB, free: 10.8 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.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 353 MB, free: 3.824 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.912e-05/2.027e-05, allocations: 2.312 kB / 353 MB, free: 3.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.002364/0.002385, allocations: 2.054 MB / 355.1 MB, free: 1.746 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000833/0.003218, allocations: 0.5853 MB / 355.7 MB, free: 1.152 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.778e-05/0.003315, allocations: 7.938 kB / 355.7 MB, free: 1.145 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.003436, allocations: 23.72 kB / 355.7 MB, free: 1.121 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.003626, allocations: 71.42 kB / 355.8 MB, free: 1.051 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001339/0.00376, allocations: 47.88 kB / 355.8 MB, free: 1.004 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.003951, allocations: 218.9 kB / 356 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.004069, allocations: 24.45 kB / 356.1 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.004227, allocations: 127.6 kB / 356.2 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.004344, allocations: 63.73 kB / 356.2 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.883e-05/0.004373, allocations: 12 kB / 356.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.804e-05/0.004431, allocations: 20 kB / 356.3 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.805e-05/0.004459, allocations: 31.84 kB / 356.3 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.569e-05/0.004514, allocations: 55.84 kB / 356.4 MB, free: 472 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.004719, allocations: 163.4 kB / 356.5 MB, free: 308 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.004721, allocations: 0 / 356.5 MB, free: 308 kB / 282.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004722, allocations: 0 / 356.5 MB, free: 308 kB / 282.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.004726, allocations: 0 / 356.5 MB, free: 308 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007749/0.005501, allocations: 0.5265 MB / 357.1 MB, free: 15.74 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.005537, allocations: 15.91 kB / 357.1 MB, free: 15.72 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.005669, allocations: 36.78 kB / 357.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003258/0.005995, allocations: 189.2 kB / 357.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.006012, allocations: 8.375 kB / 357.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.732e-05/0.006049, allocations: 16.36 kB / 357.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.006329, allocations: 139.2 kB / 357.4 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.006342, allocations: 192 / 357.4 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.006362, allocations: 8.375 kB / 357.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.006369, allocations: 3.938 kB / 357.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002058/0.006575, allocations: 79.94 kB / 357.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009034/0.007478, allocations: 0.5568 MB / 358.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003225/0.007801, allocations: 115 kB / 358.2 MB, free: 14.49 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.007905, allocations: 43.67 kB / 358.2 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.007924, allocations: 4 kB / 358.3 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.007955, allocations: 33.39 kB / 358.3 MB, free: 14.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 6.001e-06/0.007961, allocations: 4 kB / 358.3 MB, free: 14.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008849/0.008846, allocations: 378.2 kB / 358.7 MB, free: 13.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.008899, allocations: 55.34 kB / 358.7 MB, free: 13.92 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/0.009206, allocations: 281.6 kB / 359 MB, free: 13.62 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.009233, allocations: 29.7 kB / 359 MB, free: 13.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.009378, allocations: 179.1 kB / 359.2 MB, free: 13.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.612e-05/0.009424, allocations: 47.58 kB / 359.2 MB, free: 13.36 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.586e-05/0.0095, allocations: 47.31 kB / 359.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002989/0.009799, allocations: 0.5001 MB / 359.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.939e-05/0.009888, allocations: 35.92 kB / 359.8 MB, free: 12.76 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.009996, allocations: 66.56 kB / 359.9 MB, free: 12.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.01019, allocations: 107 kB / 360 MB, free: 12.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.01019, allocations: 0 / 360 MB, free: 12.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002754/0.01047, allocations: 137.5 kB / 360.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.01048, allocations: 4 kB / 360.1 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.01049, allocations: 4 kB / 360.1 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.0105, allocations: 0 / 360.1 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.01066, allocations: 36.05 kB / 360.2 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.01067, allocations: 3.938 kB / 360.2 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.98e-05/0.01077, allocations: 8 kB / 360.2 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.01078, allocations: 4 kB / 360.2 MB, free: 12.37 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 16 * 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.0001512/0.01094, allocations: 176.5 kB / 360.4 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.85e-05/0.01098, allocations: 15.91 kB / 360.4 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.804e-05/0.01104, allocations: 21.45 kB / 360.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.01105, allocations: 4 kB / 360.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.01106, allocations: 7.938 kB / 360.4 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.01106, allocations: 4 kB / 360.4 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006502/0.01171, allocations: 449.3 kB / 360.8 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01171, allocations: 0 / 360.8 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.01187, allocations: 27.98 kB / 360.9 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.01188, allocations: 0 / 360.9 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.01189, allocations: 7.938 kB / 360.9 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.01189, allocations: 0 / 360.9 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.01189, allocations: 0 / 360.9 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004282/0.01232, allocations: 307.7 kB / 361.2 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.466e-05/0.0124, allocations: 31.83 kB / 361.2 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.01242, allocations: 0 / 361.2 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.01255, allocations: 12 kB / 361.2 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.01259, allocations: 7.969 kB / 361.2 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.0126, allocations: 4 kB / 361.2 MB, free: 11.24 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002055/0.01281, allocations: 204.5 kB / 361.4 MB, free: 11.04 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01281, allocations: 0 / 361.4 MB, free: 11.04 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002692/0.01308, allocations: 32 kB / 361.5 MB, free: 11.01 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (generator.phi,generator.omega_m,generator.omega_e_filt) * 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 (12): * Single equations (assignments): 12 * 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.0001291/0.01321, allocations: 87.25 kB / 361.6 MB, free: 10.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00026/0.01347, allocations: 91.59 kB / 361.6 MB, free: 10.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01347, allocations: 0 / 361.6 MB, free: 10.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.01358, allocations: 59.59 kB / 361.7 MB, free: 10.76 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.01395, allocations: 30.61 kB / 361.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009597/0.01491, allocations: 461.6 kB / 362.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.01505, allocations: 120.7 kB / 362.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.828e-05/0.01511, allocations: 21.47 kB / 362.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.405e-05/0.01517, allocations: 16.5 kB / 362.3 MB, free: 10.08 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01517, allocations: 0 / 362.3 MB, free: 10.08 MB / 298.7 MB Notification: Performance of Templates: time 0.005483/0.02065, allocations: 1.577 MB / 363.9 MB, free: 8.516 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.551203824928962]