Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.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.001329/0.001329, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001499/0.001499, allocations: 209.1 kB / 24.48 MB, free: 3.938 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.414/1.414, allocations: 230.6 MB / 258.2 MB, free: 7.754 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.1497/0.1497, allocations: 26.84 MB / 341.5 MB, free: 7.957 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.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3") [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.002118/0.002118, allocations: 75.89 kB / 478 MB, free: 2.98 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3305, allocations: 60.48 MB / 0.5259 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.003294/0.3338, allocations: 2.182 MB / 0.528 GB, free: 8.242 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000989/0.3347, allocations: 0.6137 MB / 0.5286 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.3349, allocations: 7.562 kB / 0.5286 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001428/0.335, allocations: 38.12 kB / 0.5287 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.3352, allocations: 83 kB / 0.5287 GB, free: 7.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.3354, allocations: 59.39 kB / 0.5288 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000271/0.3356, allocations: 290.1 kB / 0.5291 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.3358, allocations: 53.28 kB / 0.5291 GB, free: 7.523 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.336, allocations: 122.5 kB / 0.5292 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.3362, allocations: 105 kB / 0.5293 GB, free: 7.422 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.561e-05/0.3363, allocations: 19.66 kB / 0.5294 GB, free: 7.422 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.734e-05/0.3364, allocations: 24.52 kB / 0.5294 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.751e-05/0.3364, allocations: 51.83 kB / 0.5294 GB, free: 7.383 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.719e-05/0.3365, allocations: 96.88 kB / 0.5295 GB, free: 7.332 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.3368, allocations: 241 kB / 0.5298 GB, free: 7.227 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3368, allocations: 0 / 0.5298 GB, free: 7.227 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3368, allocations: 0.7031 kB / 0.5298 GB, free: 7.227 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.146e-06/0.3369, allocations: 1.25 kB / 0.5298 GB, free: 7.227 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008381/0.3377, allocations: 0.4968 MB / 0.5302 GB, free: 6.828 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.3377, allocations: 8.938 kB / 0.5302 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.3378, allocations: 31.25 kB / 0.5303 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/0.3382, allocations: 206.7 kB / 0.5305 GB, free: 6.637 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.331e-05/0.3382, allocations: 68.59 kB / 0.5305 GB, free: 6.566 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.98e-05/0.3383, allocations: 24.59 kB / 0.5306 GB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003522/0.3386, allocations: 184.8 kB / 0.5307 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.3386, allocations: 5.234 kB / 0.5307 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.3387, allocations: 5.781 kB / 0.5307 GB, free: 6.445 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.3387, allocations: 7.844 kB / 0.5308 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003319/0.339, allocations: 124.5 kB / 0.5309 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008743/0.3399, allocations: 0.5386 MB / 0.5314 GB, free: 6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003868/0.3403, allocations: 137.7 kB / 0.5315 GB, free: 5.938 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.3404, allocations: 77.59 kB / 0.5316 GB, free: 5.906 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.3404, allocations: 2.25 kB / 0.5316 GB, free: 5.906 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.3405, allocations: 35.62 kB / 0.5316 GB, free: 5.863 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.292e-06/0.3405, allocations: 0 / 0.5316 GB, free: 5.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001012/0.3415, allocations: 0.5088 MB / 0.5321 GB, free: 5.555 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.3415, allocations: 53.69 kB / 0.5322 GB, free: 5.492 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.3417, allocations: 235.8 kB / 0.5324 GB, free: 5.352 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.3417, allocations: 30.89 kB / 0.5324 GB, free: 5.316 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.268e-05/0.3418, allocations: 152.3 kB / 0.5326 GB, free: 5.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.835e-05/0.3418, allocations: 69.91 kB / 0.5327 GB, free: 5.125 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-05/0.3419, allocations: 44.61 kB / 0.5327 GB, free: 5.094 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.43e-05/0.3419, allocations: 339 kB / 0.533 GB, free: 4.766 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.3421, allocations: 56.11 kB / 0.5331 GB, free: 4.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.3422, allocations: 78.12 kB / 0.5332 GB, free: 4.715 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/0.3425, allocations: 148.9 kB / 0.5333 GB, free: 4.641 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3425, allocations: 1.219 kB / 0.5333 GB, free: 4.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003445/0.3428, allocations: 206 kB / 0.5335 GB, free: 4.547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.3428, allocations: 6.25 kB / 0.5335 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.3428, allocations: 1.375 kB / 0.5335 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3428, allocations: 1.375 kB / 0.5335 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004139/0.3433, allocations: 76.72 kB / 0.5336 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.3433, allocations: 1.375 kB / 0.5336 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.3434, allocations: 16.03 kB / 0.5336 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.3434, allocations: 16.33 kB / 0.5336 GB, free: 4.523 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: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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 8.422e-05/0.3435, allocations: 136.7 kB / 0.5337 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.439e-05/0.3435, allocations: 21.23 kB / 0.5338 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.718e-05/0.3436, allocations: 26.73 kB / 0.5338 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3436, allocations: 3.703 kB / 0.5338 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.3436, allocations: 3.938 kB / 0.5338 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3436, allocations: 0.75 kB / 0.5338 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006385/0.3443, allocations: 478.9 kB / 0.5342 GB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3443, allocations: 4.609 kB / 0.5342 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003709/0.3446, allocations: 58.59 kB / 0.5343 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.3446, allocations: 0.7031 kB / 0.5343 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.3446, allocations: 9.578 kB / 0.5343 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.3446, allocations: 1.281 kB / 0.5343 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3446, allocations: 0.5156 kB / 0.5343 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004969/0.3451, allocations: 366.1 kB / 0.5347 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.592e-05/0.3452, allocations: 28.78 kB / 0.5347 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.3453, allocations: 6.031 kB / 0.5347 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.3454, allocations: 10.77 kB / 0.5347 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/0.3455, allocations: 11.5 kB / 0.5347 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.3455, allocations: 4.188 kB / 0.5347 GB, free: 3.762 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001415/0.3456, allocations: 177 kB / 0.5349 GB, free: 3.648 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3456, allocations: 0 / 0.5349 GB, free: 3.648 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002848/0.3459, allocations: 43.41 kB / 0.5349 GB, free: 3.645 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: 1 (BreakerCommand.y) * 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 8.223e-05/0.346, allocations: 104.1 kB / 0.535 GB, free: 3.547 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003441/0.3463, allocations: 144.5 kB / 0.5352 GB, free: 3.504 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3463, allocations: 0.9375 kB / 0.5352 GB, free: 3.504 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.3465, allocations: 71.17 kB / 0.5352 GB, free: 3.484 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.3469, allocations: 40.3 kB / 0.5353 GB, free: 3.469 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.348, allocations: 0.6784 MB / 0.5359 GB, free: 2.984 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.3481, allocations: 140.6 kB / 0.5361 GB, free: 2.898 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.559e-05/0.3482, allocations: 20.39 kB / 0.5361 GB, free: 2.891 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3482, allocations: 0 / 0.5361 GB, free: 2.891 MB / 382.1 MB Notification: Performance of Templates: time 0.00495/0.3531, allocations: 2.718 MB / 0.5387 GB, free: 2.262 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.033227675943635] Failed to read output from testmodel.py, exit status != 0: 0.3614580340217799 0.375343268 0.035453153 Calling exit ...