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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 99.61 kB / 16.5 MB, free: 6.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 190.4 kB / 17.42 MB, free: 6.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.23/1.23, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2517/0.2517, allocations: 48.83 MB / 319.4 MB, free: 11.33 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 60.38 kB / 389.3 MB, free: 49.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08923/0.09051, allocations: 59.17 MB / 448.5 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.004186/0.09474, allocations: 3.389 MB / 451.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.09612, allocations: 0.8811 MB / 452.8 MB, free: 5.969 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.09629, allocations: 4 kB / 452.8 MB, free: 5.965 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001595/0.09647, allocations: 43.56 kB / 452.8 MB, free: 5.922 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002982/0.09678, allocations: 115.1 kB / 452.9 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.09699, allocations: 103.9 kB / 453 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004445/0.09745, allocations: 0.4983 MB / 453.5 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000217/0.09767, allocations: 129.4 kB / 453.7 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.09789, allocations: 203 kB / 453.9 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.09813, allocations: 214.9 kB / 454.1 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.341e-05/0.09819, allocations: 28 kB / 454.1 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.999e-05/0.09829, allocations: 24 kB / 454.1 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.747e-05/0.09837, allocations: 83.55 kB / 454.2 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.09855, allocations: 222.7 kB / 454.4 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000349/0.09891, allocations: 418.2 kB / 454.8 MB, free: 3.906 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.09892, allocations: 0 / 454.8 MB, free: 3.906 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.09893, allocations: 0 / 454.8 MB, free: 3.906 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.09894, allocations: 0 / 454.8 MB, free: 3.906 MB / 334.1 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.001361/0.1003, allocations: 0.7928 MB / 455.6 MB, free: 3.062 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.1003, allocations: 12.03 kB / 455.6 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.1005, allocations: 56.28 kB / 455.7 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004539/0.101, allocations: 362 kB / 456 MB, free: 2.605 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.101, allocations: 25.03 kB / 456.1 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.785e-05/0.1011, allocations: 36.38 kB / 456.1 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005349/0.1016, allocations: 318.2 kB / 456.4 MB, free: 2.223 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.1016, allocations: 3.938 kB / 456.4 MB, free: 2.219 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.934e-05/0.1017, allocations: 16 kB / 456.4 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.1017, allocations: 11.98 kB / 456.5 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003998/0.1021, allocations: 218.4 kB / 456.7 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001714/0.1038, allocations: 1.171 MB / 457.8 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004748/0.1043, allocations: 263.9 kB / 458.1 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/0.1045, allocations: 129.4 kB / 458.2 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.1045, allocations: 288 / 458.2 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.1046, allocations: 46.78 kB / 458.3 MB, free: 292 kB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.222e-06/0.1046, allocations: 0 / 458.3 MB, free: 292 kB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002048/0.1066, allocations: 1.08 MB / 459.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.1067, allocations: 55.41 kB / 459.4 MB, free: 15.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003735/0.1071, allocations: 377.7 kB / 459.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.1071, allocations: 29.7 kB / 459.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.1072, allocations: 228.5 kB / 460 MB, free: 14.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.644e-05/0.1073, allocations: 130.2 kB / 460.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.297e-05/0.1074, allocations: 70.05 kB / 460.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1076, allocations: 362.7 kB / 460.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.1077, allocations: 92.84 kB / 460.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.108, allocations: 148.5 kB / 460.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003822/0.1084, allocations: 256 kB / 461.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1084, allocations: 0 / 461.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00051/0.1089, allocations: 341.1 kB / 461.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.1089, allocations: 4 kB / 461.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.1089, allocations: 4 kB / 461.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1089, allocations: 0 / 461.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007273/0.1097, allocations: 147.8 kB / 461.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/0.1107, allocations: 1.358 MB / 462.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.111, allocations: 8 kB / 462.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/0.111, allocations: 12 kB / 462.9 MB, free: 11.32 MB / 350.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 (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.0001626/0.1112, allocations: 165.9 kB / 463.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.1112, allocations: 39.53 kB / 463.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005032/0.1118, allocations: 317.7 kB / 463.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.1118, allocations: 11.94 kB / 463.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.1118, allocations: 0 / 463.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.1118, allocations: 3.984 kB / 463.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.1128, allocations: 0.7911 MB / 464.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1128, allocations: 4 kB / 464.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004117/0.1132, allocations: 79.89 kB / 464.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1133, allocations: 0 / 464.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/0.1133, allocations: 12 kB / 464.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1133, allocations: 0 / 464.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1133, allocations: 0 / 464.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006705/0.114, allocations: 0.5071 MB / 464.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.1141, allocations: 144.5 kB / 465 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.907e-05/0.1142, allocations: 8 kB / 465 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.1144, allocations: 8 kB / 465 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.693e-05/0.1145, allocations: 19.97 kB / 465 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.1145, allocations: 8 kB / 465 MB, free: 9.102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000255/0.1148, allocations: 271.2 kB / 465.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1148, allocations: 0 / 465.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003304/0.1151, allocations: 88 kB / 465.4 MB, free: 8.754 MB / 350.1 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 0.000104/0.1152, allocations: 103.2 kB / 465.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006252/0.1158, allocations: 288.5 kB / 465.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1159, allocations: 256 / 465.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.1161, allocations: 135.7 kB / 465.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005119/0.1166, allocations: 85.58 kB / 466 MB, free: 8.148 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.1186, allocations: 1.285 MB / 467.3 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.1189, allocations: 0.8274 MB / 468.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001902/0.1191, allocations: 47.25 kB / 468.1 MB, free: 5.934 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.1192, allocations: 35.42 kB / 468.2 MB, free: 5.898 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1192, allocations: 0 / 468.2 MB, free: 5.898 MB / 350.1 MB Notification: Performance of Templates: time 0.007373/0.1266, allocations: 3.98 MB / 472.1 MB, free: 1.918 MB / 350.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.makefile (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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe 2>&1)