Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.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.0009246/0.0009246, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001211/0.001211, allocations: 158.4 kB / 24.99 MB, free: 9.285 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.8376/0.8376, allocations: 158.6 MB / 186.8 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.1568/0.1568, allocations: 36.34 MB / 275.4 MB, free: 10.72 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.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 353.8 MB, free: 3.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.518e-05/1.645e-05, allocations: 3.438 kB / 353.8 MB, free: 3.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.009001/0.009018, allocations: 3.084 MB / 356.9 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.0101, allocations: 0.8265 MB / 357.7 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00016/0.01026, allocations: 11.77 kB / 357.7 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001609/0.01042, allocations: 63.31 kB / 357.8 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003631/0.01078, allocations: 162.6 kB / 357.9 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.01101, allocations: 119.8 kB / 358 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003487/0.0145, allocations: 0.5409 MB / 358.6 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.0147, allocations: 98.02 kB / 358.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003087/0.01501, allocations: 311.1 kB / 359 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.01522, allocations: 159.4 kB / 359.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.912e-05/0.01527, allocations: 36 kB / 359.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.928e-05/0.01535, allocations: 44 kB / 359.2 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.355e-05/0.01542, allocations: 99.5 kB / 359.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.01555, allocations: 151.5 kB / 359.5 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003629/0.01592, allocations: 318.7 kB / 359.8 MB, free: 13.74 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.01592, allocations: 0 / 359.8 MB, free: 13.74 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.01592, allocations: 0 / 359.8 MB, free: 13.74 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.01592, allocations: 0 / 359.8 MB, free: 13.74 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.001036/0.01696, allocations: 0.8341 MB / 360.6 MB, free: 12.87 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.017, allocations: 12.03 kB / 360.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001503/0.01715, allocations: 84.56 kB / 360.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003386/0.02053, allocations: 306.6 kB / 361 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.02056, allocations: 37.02 kB / 361 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.477e-05/0.02061, allocations: 40.33 kB / 361.1 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003884/0.021, allocations: 275.7 kB / 361.3 MB, free: 12.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.02102, allocations: 192 / 361.3 MB, free: 12.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.02104, allocations: 12.38 kB / 361.4 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.02106, allocations: 11.94 kB / 361.4 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002598/0.02132, allocations: 139.8 kB / 361.5 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.02262, allocations: 1.086 MB / 362.6 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003452/0.02297, allocations: 196 kB / 362.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.0231, allocations: 80.2 kB / 362.9 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.02312, allocations: 4.281 kB / 362.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.02314, allocations: 45.67 kB / 362.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 1.513e-06/0.02314, allocations: 0 / 362.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.004418/0.02756, allocations: 0.7479 MB / 363.7 MB, free: 9.645 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.02759, allocations: 59.41 kB / 363.7 MB, free: 9.574 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003313/0.02792, allocations: 394.7 kB / 364.1 MB, free: 9.172 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.02794, allocations: 33.7 kB / 364.1 MB, free: 9.133 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.02808, allocations: 267.6 kB / 364.4 MB, free: 8.863 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.688e-05/0.02817, allocations: 139.1 kB / 364.5 MB, free: 8.727 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.485e-05/0.02826, allocations: 75.86 kB / 364.6 MB, free: 8.645 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.02841, allocations: 0.5273 MB / 365.1 MB, free: 8.105 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.02852, allocations: 52.97 kB / 365.2 MB, free: 8.055 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.02866, allocations: 119.4 kB / 365.3 MB, free: 7.918 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.02893, allocations: 194.2 kB / 365.5 MB, free: 7.707 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.02893, allocations: 0 / 365.5 MB, free: 7.707 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.003395/0.03232, allocations: 285.2 kB / 365.8 MB, free: 7.422 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.03234, allocations: 4 kB / 365.8 MB, free: 7.418 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.03234, allocations: 0 / 365.8 MB, free: 7.418 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.03236, allocations: 4 kB / 365.8 MB, free: 7.414 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005074/0.03286, allocations: 151.9 kB / 365.9 MB, free: 7.266 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009109/0.03378, allocations: 1.85 MB / 367.8 MB, free: 5.285 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.03393, allocations: 19.89 kB / 367.8 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.03395, allocations: 24.14 kB / 367.8 MB, free: 5.242 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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001162/0.03407, allocations: 172.5 kB / 368 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.946e-05/0.03413, allocations: 51.77 kB / 368 MB, free: 5.012 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003391/0.03447, allocations: 249.8 kB / 368.3 MB, free: 4.762 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.03448, allocations: 0 / 368.3 MB, free: 4.762 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.03448, allocations: 7.938 kB / 368.3 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.03448, allocations: 0 / 368.3 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003775/0.03826, allocations: 0.6425 MB / 368.9 MB, free: 4.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.03826, allocations: 4 kB / 368.9 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003056/0.03857, allocations: 83.89 kB / 369 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.03857, allocations: 4 kB / 369 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.03859, allocations: 7.938 kB / 369 MB, free: 3.973 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.03859, allocations: 4 kB / 369 MB, free: 3.969 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.03859, allocations: 0 / 369 MB, free: 3.969 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004755/0.03907, allocations: 465.4 kB / 369.5 MB, free: 3.492 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.03917, allocations: 59.72 kB / 369.5 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.218e-05/0.03922, allocations: 11.94 kB / 369.6 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.03936, allocations: 7.953 kB / 369.6 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.03942, allocations: 31.75 kB / 369.6 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.03943, allocations: 15.98 kB / 369.6 MB, free: 3.367 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002021/0.03963, allocations: 267.1 kB / 369.9 MB, free: 3.105 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03963, allocations: 0 / 369.9 MB, free: 3.105 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003251/0.03996, allocations: 91.94 kB / 370 MB, free: 3.016 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (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,secondaryController.powerOffset) * 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 (36): * Single equations (assignments): 36 * 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 8.615e-05/0.04004, allocations: 103.2 kB / 370.1 MB, free: 2.906 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004378/0.04048, allocations: 213.2 kB / 370.3 MB, free: 2.695 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.04048, allocations: 0 / 370.3 MB, free: 2.695 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.04062, allocations: 115.2 kB / 370.4 MB, free: 2.578 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.04104, allocations: 97.22 kB / 370.5 MB, free: 2.488 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004675/0.04572, allocations: 0.9704 MB / 371.4 MB, free: 1.484 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.73e-05/0.0458, allocations: 109.1 kB / 371.6 MB, free: 1.359 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001346/0.04593, allocations: 47.25 kB / 371.6 MB, free: 1.312 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.651e-05/0.04603, allocations: 36.48 kB / 371.6 MB, free: 1.277 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.04603, allocations: 0 / 371.6 MB, free: 1.277 MB / 298.7 MB Notification: Performance of Templates: time 0.006406/0.05244, allocations: 4.438 MB / 376.1 MB, free: 12.87 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8276008090469986]