Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.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.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009521/0.0009522, allocations: 92.58 kB / 16.65 MB, free: 6.535 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.001029/0.001029, allocations: 175.6 kB / 17.56 MB, free: 6.18 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.289/1.289, allocations: 205.4 MB / 223.7 MB, free: 12.99 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2569/0.2569, allocations: 48.79 MB / 320.8 MB, free: 11.09 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.0004999/0.0004999, allocations: 17.55 kB / 391.8 MB, free: 50.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08404/0.08455, allocations: 60.27 MB / 452.1 MB, free: 9.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.002742/0.08734, allocations: 2.367 MB / 454.4 MB, free: 6.789 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.08851, allocations: 0.7565 MB / 455.2 MB, free: 6.023 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.08864, allocations: 4 kB / 455.2 MB, free: 6.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.08877, allocations: 31.7 kB / 455.2 MB, free: 5.988 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002725/0.08905, allocations: 103.2 kB / 455.3 MB, free: 5.887 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.08923, allocations: 71.86 kB / 455.4 MB, free: 5.816 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003676/0.0896, allocations: 386.2 kB / 455.8 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.08978, allocations: 65.03 kB / 455.8 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001846/0.08998, allocations: 147.3 kB / 456 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.09018, allocations: 151.1 kB / 456.1 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.57e-05/0.09023, allocations: 12 kB / 456.1 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.203e-05/0.09031, allocations: 20 kB / 456.2 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.836e-05/0.09037, allocations: 51.7 kB / 456.2 MB, free: 5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.09052, allocations: 180.8 kB / 456.4 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003133/0.09084, allocations: 310.8 kB / 456.7 MB, free: 4.512 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.09085, allocations: 0 / 456.7 MB, free: 4.512 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.09086, allocations: 0 / 456.7 MB, free: 4.512 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.09087, allocations: 0 / 456.7 MB, free: 4.512 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0009406/0.09182, allocations: 0.6077 MB / 457.3 MB, free: 3.855 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.09186, allocations: 11.97 kB / 457.3 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.09197, allocations: 40.47 kB / 457.4 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.09233, allocations: 324 kB / 457.7 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.09236, allocations: 16.81 kB / 457.7 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/0.09241, allocations: 24.38 kB / 457.7 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004446/0.09286, allocations: 250.9 kB / 458 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.09289, allocations: 0 / 458 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/0.09292, allocations: 16 kB / 458 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.09293, allocations: 8 kB / 458 MB, free: 3.125 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004142/0.09335, allocations: 185.6 kB / 458.2 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.09454, allocations: 0.879 MB / 459 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003475/0.0949, allocations: 195.2 kB / 459.2 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.09513, allocations: 112.8 kB / 459.3 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.09516, allocations: 0 / 459.3 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.09519, allocations: 34.56 kB / 459.4 MB, free: 1.641 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.062e-06/0.09519, allocations: 0 / 459.4 MB, free: 1.641 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001432/0.09663, allocations: 0.7685 MB / 460.1 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.09668, allocations: 55.41 kB / 460.2 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003079/0.09699, allocations: 300.5 kB / 460.5 MB, free: 472 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.09703, allocations: 41.7 kB / 460.5 MB, free: 424 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.09716, allocations: 180.6 kB / 460.7 MB, free: 240 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.665e-05/0.09724, allocations: 94.56 kB / 460.8 MB, free: 144 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.366e-05/0.09729, allocations: 37.64 kB / 460.8 MB, free: 100 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.09744, allocations: 346.8 kB / 461.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.09765, allocations: 79.89 kB / 461.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.09787, allocations: 130.5 kB / 461.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000398/0.09827, allocations: 196.2 kB / 461.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.09828, allocations: 0 / 461.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006881/0.09898, allocations: 338.9 kB / 461.9 MB, free: 15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.099, allocations: 4 kB / 461.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.09901, allocations: 4 kB / 461.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000265/0.09928, allocations: 56.88 kB / 462 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003797/0.09968, allocations: 79.89 kB / 462 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002299/0.102, allocations: 2.819 MB / 464.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.1022, allocations: 20.02 kB / 464.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.1022, allocations: 4 kB / 464.9 MB, free: 11.74 MB / 350.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 (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001534/0.1024, allocations: 157.7 kB / 465 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.92e-05/0.1025, allocations: 31.56 kB / 465.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005295/0.103, allocations: 277.2 kB / 465.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.103, allocations: 4 kB / 465.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.103, allocations: 3.938 kB / 465.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.103, allocations: 7.984 kB / 465.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009614/0.104, allocations: 0.6739 MB / 466 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.104, allocations: 0 / 466 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003226/0.1043, allocations: 71.91 kB / 466.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.1044, allocations: 4 kB / 466.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.1044, allocations: 4 kB / 466.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1044, allocations: 0 / 466.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1044, allocations: 0 / 466.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006979/0.1051, allocations: 475.5 kB / 466.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.1052, allocations: 124.8 kB / 466.7 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.74e-05/0.1053, allocations: 8 kB / 466.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.1055, allocations: 15.98 kB / 466.7 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/0.1055, allocations: 11.98 kB / 466.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.1056, allocations: 11.98 kB / 466.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002213/0.1058, allocations: 211.1 kB / 467 MB, free: 9.566 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1058, allocations: 0 / 467 MB, free: 9.566 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003507/0.1061, allocations: 72 kB / 467 MB, free: 9.496 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.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 (28): * Single equations (assignments): 28 * 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.755e-05/0.1062, allocations: 111.1 kB / 467.1 MB, free: 9.379 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009003/0.1072, allocations: 378.5 kB / 467.5 MB, free: 8.996 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1072, allocations: 0 / 467.5 MB, free: 8.996 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000224/0.1074, allocations: 115.9 kB / 467.6 MB, free: 8.883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004704/0.1079, allocations: 65.19 kB / 467.7 MB, free: 8.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.1095, allocations: 1.146 MB / 468.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.1098, allocations: 0.7837 MB / 469.6 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001401/0.11, allocations: 38.95 kB / 469.6 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.878e-05/0.1101, allocations: 27.44 kB / 469.7 MB, free: 6.77 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1101, allocations: 0 / 469.7 MB, free: 6.77 MB / 350.1 MB Notification: Performance of Templates: time 0.006981/0.1171, allocations: 3.174 MB / 472.8 MB, free: 3.598 MB / 350.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.makefile (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1)