Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.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.001797/0.001797, allocations: 115.6 kB / 20.43 MB, free: 1.457 MB / 14.72 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.002257/0.002257, allocations: 214.2 kB / 23.75 MB, free: 4.668 MB / 14.72 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 1.52/1.52, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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.15/0.15, allocations: 26.82 MB / 340.7 MB, free: 8.191 MB / 270.1 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.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 63.84 kB / 477.3 MB, free: 3.18 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3075, allocations: 60.49 MB / 0.5252 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.002928/0.3105, allocations: 2.31 MB / 0.5274 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.3118, allocations: 0.6674 MB / 0.5281 GB, free: 7.656 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.3119, allocations: 6.906 kB / 0.5281 GB, free: 7.652 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.3121, allocations: 30.66 kB / 0.5281 GB, free: 7.633 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002174/0.3123, allocations: 82.8 kB / 0.5282 GB, free: 7.574 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001553/0.3124, allocations: 65.86 kB / 0.5283 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002708/0.3127, allocations: 270.8 kB / 0.5285 GB, free: 7.402 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.3129, allocations: 52.78 kB / 0.5286 GB, free: 7.371 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.313, allocations: 122.5 kB / 0.5287 GB, free: 7.312 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.3132, allocations: 113 kB / 0.5288 GB, free: 7.258 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.369e-05/0.3132, allocations: 16.53 kB / 0.5288 GB, free: 7.258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.389e-05/0.3133, allocations: 19.62 kB / 0.5288 GB, free: 7.258 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.747e-05/0.3133, allocations: 55.5 kB / 0.5289 GB, free: 7.219 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.572e-05/0.3134, allocations: 125.5 kB / 0.529 GB, free: 7.141 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.3137, allocations: 222.9 kB / 0.5292 GB, free: 7.043 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3137, allocations: 0 / 0.5292 GB, free: 7.043 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3137, allocations: 0 / 0.5292 GB, free: 7.043 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.3137, allocations: 1.062 kB / 0.5292 GB, free: 7.043 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007684/0.3145, allocations: 0.4906 MB / 0.5297 GB, free: 6.648 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.3145, allocations: 10 kB / 0.5297 GB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.276e-05/0.3146, allocations: 30.25 kB / 0.5297 GB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.3149, allocations: 207.9 kB / 0.5299 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.3149, allocations: 24.38 kB / 0.53 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.036e-05/0.3149, allocations: 16 kB / 0.53 GB, free: 6.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003073/0.3152, allocations: 180.6 kB / 0.5302 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.3153, allocations: 0 / 0.5302 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.3153, allocations: 5.594 kB / 0.5302 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.3153, allocations: 8.203 kB / 0.5302 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003202/0.3156, allocations: 112.7 kB / 0.5303 GB, free: 6.293 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009089/0.3165, allocations: 0.5893 MB / 0.5309 GB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.3168, allocations: 130.1 kB / 0.531 GB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.317, allocations: 74.84 kB / 0.531 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.317, allocations: 3.125 kB / 0.531 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.317, allocations: 35.84 kB / 0.5311 GB, free: 5.715 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.272e-06/0.317, allocations: 0 / 0.5311 GB, free: 5.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0009932/0.318, allocations: 489.9 kB / 0.5316 GB, free: 5.418 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.048e-05/0.318, allocations: 54.84 kB / 0.5316 GB, free: 5.355 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.3182, allocations: 240.1 kB / 0.5318 GB, free: 5.207 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.3182, allocations: 30.73 kB / 0.5319 GB, free: 5.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/0.3183, allocations: 148.3 kB / 0.532 GB, free: 5.039 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.3183, allocations: 68.59 kB / 0.5321 GB, free: 4.984 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.805e-05/0.3184, allocations: 39.31 kB / 0.5321 GB, free: 4.957 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.506e-05/0.3185, allocations: 338.3 kB / 0.5324 GB, free: 4.629 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.3186, allocations: 56.25 kB / 0.5325 GB, free: 4.609 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.3187, allocations: 82.08 kB / 0.5326 GB, free: 4.566 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.3189, allocations: 129.5 kB / 0.5327 GB, free: 4.508 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3189, allocations: 0 / 0.5327 GB, free: 4.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003189/0.3193, allocations: 193.1 kB / 0.5329 GB, free: 4.418 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.3193, allocations: 4.531 kB / 0.5329 GB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.3193, allocations: 5.5 kB / 0.5329 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.3193, allocations: 1.219 kB / 0.5329 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004013/0.3197, allocations: 69.09 kB / 0.5329 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007477/0.3204, allocations: 1.336 MB / 0.5342 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.3206, allocations: 14.47 kB / 0.5343 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.3206, allocations: 5.5 kB / 0.5343 GB, free: 3.043 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (24): * Single equations (assignments): 23 * 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 8.557e-05/0.3207, allocations: 137 kB / 0.5344 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.449e-05/0.3207, allocations: 22.05 kB / 0.5344 GB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003253/0.3211, allocations: 190.6 kB / 0.5346 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3211, allocations: 7 kB / 0.5346 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.3211, allocations: 0 / 0.5346 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3211, allocations: 2.312 kB / 0.5346 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006401/0.3217, allocations: 0.5051 MB / 0.5351 GB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3217, allocations: 8 kB / 0.5351 GB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.3219, allocations: 39.7 kB / 0.5351 GB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3219, allocations: 1.438 kB / 0.5351 GB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.322, allocations: 6.25 kB / 0.5352 GB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.322, allocations: 1.531 kB / 0.5352 GB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.322, allocations: 0 / 0.5352 GB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004236/0.3224, allocations: 348.1 kB / 0.5355 GB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.052e-05/0.3224, allocations: 30.08 kB / 0.5355 GB, free: 2.184 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.3225, allocations: 5.531 kB / 0.5355 GB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.3226, allocations: 6.812 kB / 0.5355 GB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.3227, allocations: 14.52 kB / 0.5355 GB, free: 2.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.946e-06/0.3227, allocations: 5.172 kB / 0.5355 GB, free: 2.176 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.3228, allocations: 169.9 kB / 0.5357 GB, free: 2.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3228, allocations: 0 / 0.5357 GB, free: 2.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002931/0.3231, allocations: 46.94 kB / 0.5358 GB, free: 2.062 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (generator.phi,generator.omega_m,generator.omega_e_filt,grid.port.theta) * 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 (19): * Single equations (assignments): 19 * 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 6.816e-05/0.3232, allocations: 104.2 kB / 0.5359 GB, free: 1.965 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005139/0.3237, allocations: 157.3 kB / 0.536 GB, free: 1.926 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3237, allocations: 1 kB / 0.536 GB, free: 1.926 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.3238, allocations: 73.09 kB / 0.5361 GB, free: 1.902 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.3242, allocations: 46.53 kB / 0.5361 GB, free: 1.875 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.3252, allocations: 0.6595 MB / 0.5368 GB, free: 1.422 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001649/0.3254, allocations: 0.7494 MB / 0.5375 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.65e-05/0.3255, allocations: 29.91 kB / 0.5375 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.358e-05/0.3255, allocations: 20.69 kB / 0.5375 GB, free: 0.707 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3255, allocations: 0 / 0.5375 GB, free: 0.707 MB / 382.1 MB Notification: Performance of Templates: time 0.006178/0.3317, allocations: 2.53 MB / 0.54 GB, free: 196 kB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.733262384310365] Failed to read output from testmodel.py, exit status != 0: 0.3398260250687599 0.35421182500000004 0.037366346 Calling exit ...