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.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.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 114.5 kB / 17.69 MB, free: 5.312 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.001165/0.001166, allocations: 191 kB / 18.63 MB, free: 4.379 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.328/1.328, allocations: 205.1 MB / 224.5 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2661/0.2661, allocations: 48.84 MB / 320.7 MB, free: 11.04 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.001453/0.001453, allocations: 69.73 kB / 391.5 MB, free: 48.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09162/0.09309, allocations: 59.17 MB / 450.7 MB, free: 9.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.00333/0.09646, allocations: 2.053 MB / 452.7 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009667/0.09744, allocations: 0.6047 MB / 453.4 MB, free: 6.359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.848e-05/0.09754, allocations: 0 / 453.4 MB, free: 6.359 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.09767, allocations: 27.72 kB / 453.4 MB, free: 6.332 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.09789, allocations: 63.47 kB / 453.4 MB, free: 6.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001558/0.09805, allocations: 51.89 kB / 453.5 MB, free: 6.219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002378/0.0983, allocations: 215 kB / 453.7 MB, free: 6.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.09843, allocations: 32.3 kB / 453.7 MB, free: 5.977 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.09856, allocations: 83.64 kB / 453.8 MB, free: 5.895 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.0987, allocations: 83.55 kB / 453.9 MB, free: 5.812 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.09874, allocations: 12 kB / 453.9 MB, free: 5.801 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.492e-05/0.0988, allocations: 20 kB / 453.9 MB, free: 5.781 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.77e-05/0.09884, allocations: 39.78 kB / 454 MB, free: 5.742 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.945e-05/0.09893, allocations: 83.55 kB / 454 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.09914, allocations: 167.3 kB / 454.2 MB, free: 5.496 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.09915, allocations: 0 / 454.2 MB, free: 5.496 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.09916, allocations: 0 / 454.2 MB, free: 5.496 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.09916, allocations: 0 / 454.2 MB, free: 5.496 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007187/0.09989, allocations: 498.5 kB / 454.7 MB, free: 4.961 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.09993, allocations: 11.89 kB / 454.7 MB, free: 4.949 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.716e-05/0.1, allocations: 24.66 kB / 454.7 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.1003, allocations: 248.8 kB / 455 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.1004, allocations: 8.375 kB / 455 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.1004, allocations: 12.38 kB / 455 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.1006, allocations: 139.6 kB / 455.1 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.1007, allocations: 3.938 kB / 455.1 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.1007, allocations: 4 kB / 455.1 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1007, allocations: 4 kB / 455.1 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001899/0.1009, allocations: 75.94 kB / 455.2 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007448/0.1016, allocations: 0.5489 MB / 455.8 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.1019, allocations: 106.5 kB / 455.9 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.084e-05/0.102, allocations: 40.84 kB / 455.9 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.1021, allocations: 7.938 kB / 455.9 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.1021, allocations: 38.56 kB / 456 MB, free: 3.566 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.1021, allocations: 4 kB / 456 MB, free: 3.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007788/0.1029, allocations: 449.6 kB / 456.4 MB, free: 3.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.1029, allocations: 55.41 kB / 456.5 MB, free: 3.004 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.1032, allocations: 225 kB / 456.7 MB, free: 2.777 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.1032, allocations: 25.7 kB / 456.7 MB, free: 2.746 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.671e-05/0.1033, allocations: 128.3 kB / 456.8 MB, free: 2.617 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.1033, allocations: 47.3 kB / 456.9 MB, free: 2.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.231e-05/0.1034, allocations: 29.72 kB / 456.9 MB, free: 2.535 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1035, allocations: 330.8 kB / 457.2 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.84e-05/0.1036, allocations: 35.92 kB / 457.3 MB, free: 2.168 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.667e-05/0.1037, allocations: 58.55 kB / 457.3 MB, free: 2.102 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.1038, allocations: 90.56 kB / 457.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1038, allocations: 0 / 457.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000241/0.1041, allocations: 141.3 kB / 457.5 MB, free: 1.859 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.1041, allocations: 11.88 kB / 457.6 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1041, allocations: 0 / 457.6 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1041, allocations: 7.938 kB / 457.6 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.1043, allocations: 36.05 kB / 457.6 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.1043, allocations: 7.984 kB / 457.6 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.822e-05/0.1044, allocations: 4 kB / 457.6 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.1044, allocations: 4 kB / 457.6 MB, free: 1.789 MB / 334.1 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 9.077e-05/0.1045, allocations: 126.4 kB / 457.7 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.939e-05/0.1046, allocations: 23.75 kB / 457.8 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.597e-05/0.1046, allocations: 21.7 kB / 457.8 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1046, allocations: 0 / 457.8 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.1047, allocations: 0 / 457.8 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1047, allocations: 4 kB / 457.8 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000506/0.1052, allocations: 442.4 kB / 458.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.1052, allocations: 0 / 458.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.1054, allocations: 35.91 kB / 458.2 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1054, allocations: 3.938 kB / 458.3 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1054, allocations: 4 kB / 458.3 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.1054, allocations: 0 / 458.3 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1054, allocations: 0 / 458.3 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003457/0.1057, allocations: 263.2 kB / 458.5 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.167e-05/0.1058, allocations: 101 kB / 458.6 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.1059, allocations: 0 / 458.6 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.106, allocations: 8 kB / 458.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.106, allocations: 3.984 kB / 458.6 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.1061, allocations: 4 kB / 458.6 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001366/0.1062, allocations: 172.4 kB / 458.8 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.523e-06/0.1062, allocations: 4 kB / 458.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.1065, allocations: 35.94 kB / 458.8 MB, free: 484 kB / 334.1 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 9.225e-05/0.1066, allocations: 99.12 kB / 458.9 MB, free: 372 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.1068, allocations: 91.84 kB / 459 MB, free: 280 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1068, allocations: 0 / 459 MB, free: 280 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.338e-05/0.1069, allocations: 49 kB / 459.1 MB, free: 232 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.1073, allocations: 40.78 kB / 459.1 MB, free: 192 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008899/0.1082, allocations: 0.5029 MB / 459.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.1085, allocations: 0.728 MB / 460.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.321e-05/0.1086, allocations: 17.55 kB / 460.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.216e-05/0.1086, allocations: 15.44 kB / 460.4 MB, free: 14.87 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1086, allocations: 4 kB / 460.4 MB, free: 14.87 MB / 350.1 MB Notification: Performance of Templates: time 0.004442/0.1131, allocations: 1.574 MB / 462 MB, free: 13.3 MB / 350.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.makefile (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=480 -s cvode -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1)