Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.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.00115/0.00115, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.0009652/0.0009652, allocations: 174.8 kB / 24.91 MB, free: 8.734 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9191/0.9191, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.09222/0.09222, allocations: 19.75 MB / 281.6 MB, free: 9.152 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 305.2 MB, free: 13.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.097e-05/3.264e-05, allocations: 2.859 kB / 305.2 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.005175/0.005208, allocations: 2.914 MB / 308.1 MB, free: 11.07 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002416/0.007624, allocations: 0.8266 MB / 308.9 MB, free: 10.34 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000387/0.008011, allocations: 11.94 kB / 308.9 MB, free: 10.32 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002622/0.008273, allocations: 56.78 kB / 309 MB, free: 10.28 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005267/0.008799, allocations: 147.6 kB / 309.1 MB, free: 10.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004155/0.009215, allocations: 114.3 kB / 309.2 MB, free: 10.08 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008005/0.01002, allocations: 0.5003 MB / 309.7 MB, free: 9.633 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002647/0.01028, allocations: 103.6 kB / 309.8 MB, free: 9.535 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006104/0.01089, allocations: 286.9 kB / 310.1 MB, free: 9.312 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003113/0.0112, allocations: 155.6 kB / 310.3 MB, free: 9.184 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.356e-05/0.01128, allocations: 35.94 kB / 310.3 MB, free: 9.148 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.932e-05/0.01137, allocations: 40 kB / 310.3 MB, free: 9.109 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.143e-05/0.01145, allocations: 83.59 kB / 310.4 MB, free: 9.027 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.01159, allocations: 139.6 kB / 310.6 MB, free: 8.891 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004508/0.01204, allocations: 298.7 kB / 310.9 MB, free: 8.598 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.01204, allocations: 3.938 kB / 310.9 MB, free: 8.594 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.01205, allocations: 4 kB / 310.9 MB, free: 8.59 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.01205, allocations: 3.938 kB / 310.9 MB, free: 8.586 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001352/0.01341, allocations: 0.6597 MB / 311.5 MB, free: 7.902 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.01345, allocations: 8.625 kB / 311.5 MB, free: 7.895 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001651/0.01361, allocations: 60.88 kB / 311.6 MB, free: 7.836 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.01398, allocations: 255.9 kB / 311.8 MB, free: 7.562 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.01401, allocations: 21.03 kB / 311.9 MB, free: 7.543 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.785e-05/0.01407, allocations: 48.3 kB / 311.9 MB, free: 7.496 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.0144, allocations: 239.1 kB / 312.1 MB, free: 7.242 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.01442, allocations: 16.11 kB / 312.2 MB, free: 7.227 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.01444, allocations: 15.94 kB / 312.2 MB, free: 7.211 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.01445, allocations: 4 kB / 312.2 MB, free: 7.207 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.01463, allocations: 95.16 kB / 312.3 MB, free: 7.117 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.01585, allocations: 0.7187 MB / 313 MB, free: 6.367 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.0161, allocations: 137.8 kB / 313.1 MB, free: 6.223 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.186e-05/0.01619, allocations: 64.77 kB / 313.2 MB, free: 6.156 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.01622, allocations: 11.98 kB / 313.2 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.01625, allocations: 34.56 kB / 313.2 MB, free: 6.102 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 2.485e-06/0.01625, allocations: 0 / 313.2 MB, free: 6.102 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.001158/0.01741, allocations: 0.5234 MB / 313.8 MB, free: 5.543 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.01745, allocations: 51.41 kB / 313.8 MB, free: 5.48 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002772/0.01772, allocations: 315.4 kB / 314.1 MB, free: 5.156 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.01775, allocations: 29.7 kB / 314.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.01785, allocations: 185.5 kB / 314.3 MB, free: 4.934 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.351e-05/0.01795, allocations: 130.9 kB / 314.5 MB, free: 4.805 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-05/0.01804, allocations: 73.98 kB / 314.5 MB, free: 4.723 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.01816, allocations: 350.7 kB / 314.9 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.595e-05/0.01823, allocations: 36.67 kB / 314.9 MB, free: 4.336 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.01833, allocations: 89.47 kB / 315 MB, free: 4.234 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.01852, allocations: 132.1 kB / 315.1 MB, free: 4.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.01852, allocations: 0 / 315.1 MB, free: 4.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005689/0.01909, allocations: 277.6 kB / 315.4 MB, free: 3.809 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.01911, allocations: 4 kB / 315.4 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.01912, allocations: 0 / 315.4 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005437/0.01966, allocations: 128.8 kB / 315.5 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003523/0.02001, allocations: 95.88 kB / 315.6 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001727/0.02174, allocations: 2.696 MB / 318.3 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.02187, allocations: 19.89 kB / 318.3 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.02189, allocations: 8 kB / 318.3 MB, free: 0.6875 MB / 282.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 (36): * Single equations (assignments): 34 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.02199, allocations: 125.8 kB / 318.5 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.02203, allocations: 35.95 kB / 318.5 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001779/0.02221, allocations: 185.7 kB / 318.7 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.02221, allocations: 4 kB / 318.7 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.02222, allocations: 7.969 kB / 318.7 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.02222, allocations: 7.984 kB / 318.7 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004299/0.02265, allocations: 419.6 kB / 319.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.02265, allocations: 0 / 319.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.02284, allocations: 71.97 kB / 319.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.02284, allocations: 7.938 kB / 319.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.02286, allocations: 4 kB / 319.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.02286, allocations: 7.938 kB / 319.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.02286, allocations: 7.922 kB / 319.2 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.02309, allocations: 324.6 kB / 319.5 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.564e-05/0.02316, allocations: 43.67 kB / 319.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.02318, allocations: 12 kB / 319.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.445e-05/0.02327, allocations: 8 kB / 319.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.0233, allocations: 15.95 kB / 319.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.02331, allocations: 8 kB / 319.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.78e-05/0.0234, allocations: 128.7 kB / 319.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0234, allocations: 0 / 319.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002169/0.02362, allocations: 88 kB / 319.8 MB, free: 15.15 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (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) * 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 (34): * Single equations (assignments): 34 * 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.078e-05/0.02371, allocations: 87.03 kB / 319.9 MB, free: 15.06 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004308/0.02414, allocations: 345.8 kB / 320.2 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.02414, allocations: 8 kB / 320.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.206e-05/0.02422, allocations: 76.95 kB / 320.3 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.02448, allocations: 75.81 kB / 320.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.02563, allocations: 0.8304 MB / 321.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.341e-05/0.02569, allocations: 109.3 kB / 321.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001126/0.0258, allocations: 34.95 kB / 321.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.02595, allocations: 111.3 kB / 321.5 MB, free: 13.41 MB / 298.7 MB Notification: Performance of SimCode: time 8.72e-07/0.02595, allocations: 0 / 321.5 MB, free: 13.41 MB / 298.7 MB Notification: Performance of Templates: time 0.006875/0.03282, allocations: 4.862 MB / 326.3 MB, free: 8.645 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.722438097000122]