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.00102/0.00102, allocations: 107.3 kB / 16.92 MB, free: 5.895 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.0009962/0.0009962, allocations: 191.3 kB / 17.85 MB, free: 5.188 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.254/1.254, allocations: 205.1 MB / 223.7 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2614/0.2614, allocations: 48.84 MB / 319.9 MB, free: 11.1 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.001422/0.001422, allocations: 69.8 kB / 390.1 MB, free: 48.86 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0868/0.08824, allocations: 59.16 MB / 449.2 MB, free: 9.785 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.003131/0.0914, allocations: 2.069 MB / 451.3 MB, free: 7.691 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008883/0.0923, allocations: 0.6047 MB / 451.9 MB, free: 7.078 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.184e-05/0.09241, allocations: 0 / 451.9 MB, free: 7.078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.09254, allocations: 23.72 kB / 451.9 MB, free: 7.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.09275, allocations: 71.42 kB / 452 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001298/0.09289, allocations: 39.94 kB / 452 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00022/0.09312, allocations: 207.1 kB / 452.2 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.09325, allocations: 40.28 kB / 452.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.09337, allocations: 79.64 kB / 452.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.09352, allocations: 91.5 kB / 452.4 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.09355, allocations: 12 kB / 452.5 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.001e-05/0.09362, allocations: 15.98 kB / 452.5 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.409e-05/0.09366, allocations: 35.86 kB / 452.5 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.671e-05/0.09375, allocations: 87.52 kB / 452.6 MB, free: 6.387 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.09395, allocations: 159.6 kB / 452.7 MB, free: 6.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.09396, allocations: 0 / 452.7 MB, free: 6.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.09397, allocations: 0 / 452.7 MB, free: 6.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.09398, allocations: 0 / 452.7 MB, free: 6.23 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.0007069/0.09469, allocations: 0.4946 MB / 453.2 MB, free: 5.688 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.09473, allocations: 11.89 kB / 453.3 MB, free: 5.676 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.218e-05/0.09483, allocations: 24.66 kB / 453.3 MB, free: 5.652 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.09508, allocations: 236.9 kB / 453.5 MB, free: 5.383 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.09509, allocations: 4.375 kB / 453.5 MB, free: 5.379 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.271e-05/0.09513, allocations: 16.38 kB / 453.5 MB, free: 5.363 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.09536, allocations: 139.5 kB / 453.7 MB, free: 5.215 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.09538, allocations: 0 / 453.7 MB, free: 5.215 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.09541, allocations: 11.94 kB / 453.7 MB, free: 5.203 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.09542, allocations: 0 / 453.7 MB, free: 5.203 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/0.0956, allocations: 75.94 kB / 453.8 MB, free: 5.129 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007077/0.09632, allocations: 0.5567 MB / 454.3 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/0.09658, allocations: 98.61 kB / 454.4 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.085e-05/0.09668, allocations: 44.84 kB / 454.4 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.0967, allocations: 4 kB / 454.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.09673, allocations: 38.77 kB / 454.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 2.505e-06/0.09673, allocations: 0 / 454.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007599/0.0975, allocations: 453.2 kB / 454.9 MB, free: 3.812 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.09755, allocations: 59.41 kB / 455 MB, free: 3.742 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.09778, allocations: 229 kB / 455.2 MB, free: 3.512 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.0978, allocations: 25.7 kB / 455.2 MB, free: 3.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.673e-05/0.09788, allocations: 124.4 kB / 455.4 MB, free: 3.355 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.09793, allocations: 47.28 kB / 455.4 MB, free: 3.309 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-05/0.09798, allocations: 33.7 kB / 455.4 MB, free: 3.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.09809, allocations: 326.8 kB / 455.8 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.649e-05/0.09817, allocations: 31.98 kB / 455.8 MB, free: 2.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.264e-05/0.09827, allocations: 58.55 kB / 455.8 MB, free: 2.844 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.09844, allocations: 94.5 kB / 455.9 MB, free: 2.742 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.09845, allocations: 0 / 455.9 MB, free: 2.742 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002422/0.0987, allocations: 145.3 kB / 456.1 MB, free: 2.594 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.09872, allocations: 12 kB / 456.1 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.09873, allocations: 0 / 456.1 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.09875, allocations: 3.984 kB / 456.1 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.0989, allocations: 35.98 kB / 456.1 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.09891, allocations: 4 kB / 456.1 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.09902, allocations: 4 kB / 456.1 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.09903, allocations: 0 / 456.1 MB, free: 2.535 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.473e-05/0.09913, allocations: 134.4 kB / 456.3 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.858e-05/0.09919, allocations: 19.75 kB / 456.3 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.749e-05/0.09924, allocations: 29.69 kB / 456.3 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.09925, allocations: 0 / 456.3 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-06/0.09926, allocations: 0 / 456.3 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.09926, allocations: 0 / 456.3 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000504/0.09977, allocations: 450.3 kB / 456.8 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.09979, allocations: 4 kB / 456.8 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.09994, allocations: 23.98 kB / 456.8 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.09996, allocations: 8 kB / 456.8 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.09997, allocations: 4 kB / 456.8 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.09998, allocations: 3.938 kB / 456.8 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.09999, allocations: 0 / 456.8 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.1003, allocations: 267 kB / 457.1 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.259e-05/0.1004, allocations: 101 kB / 457.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.1004, allocations: 0 / 457.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.1006, allocations: 8 kB / 457.2 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.445e-05/0.1006, allocations: 7.984 kB / 457.2 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-06/0.1006, allocations: 4 kB / 457.2 MB, free: 1.398 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001349/0.1008, allocations: 168.5 kB / 457.3 MB, free: 1.238 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1008, allocations: 0 / 457.3 MB, free: 1.238 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.101, allocations: 28 kB / 457.4 MB, free: 1.211 MB / 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 8.142e-05/0.1011, allocations: 99.19 kB / 457.5 MB, free: 1.102 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002216/0.1014, allocations: 96.92 kB / 457.6 MB, free: 1.008 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1014, allocations: 0 / 457.6 MB, free: 1.008 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.193e-05/0.1015, allocations: 47.92 kB / 457.6 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.1019, allocations: 33.62 kB / 457.6 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008643/0.1027, allocations: 0.5224 MB / 458.2 MB, free: 392 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.103, allocations: 0.728 MB / 458.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.506e-05/0.1031, allocations: 17.53 kB / 458.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.1032, allocations: 15.44 kB / 458.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1032, allocations: 4 kB / 458.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of Templates: time 0.004077/0.1072, allocations: 1.571 MB / 460.5 MB, free: 14.03 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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1)