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.000796/0.000796, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009803/0.001776, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.000704/0.000704, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009117/0.001616, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9654/0.9654, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08579/1.051, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.09992/0.09992, allocations: 19.75 MB / 263.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01255/0.1125, allocations: 7.561 MB / 271.3 MB, free: 3.469 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.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: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 272.6 MB, free: 2.211 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.269e-05/1.433e-05, allocations: 6.312 kB / 272.6 MB, free: 2.203 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.1366/0.1366, allocations: 2.359 MB / 274.9 MB, free: 1.547 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.1377, allocations: 0.6449 MB / 275.6 MB, free: 1.543 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.1378, allocations: 5.625 kB / 275.6 MB, free: 1.543 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.617e-05/0.1379, allocations: 38.64 kB / 275.6 MB, free: 1.527 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.1381, allocations: 84.8 kB / 275.7 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001186/0.1382, allocations: 64.72 kB / 275.8 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002368/0.1384, allocations: 293.9 kB / 276 MB, free: 1.414 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.1385, allocations: 51.36 kB / 276.1 MB, free: 1.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002709/0.1388, allocations: 209 kB / 276.3 MB, free: 1.379 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.1389, allocations: 88.45 kB / 276.4 MB, free: 1.367 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.139, allocations: 18.88 kB / 276.4 MB, free: 1.367 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.884e-05/0.139, allocations: 21.34 kB / 276.4 MB, free: 1.367 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.767e-05/0.1391, allocations: 37.75 kB / 276.5 MB, free: 1.355 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.087e-05/0.1391, allocations: 72.33 kB / 276.5 MB, free: 1.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.1394, allocations: 162 kB / 276.7 MB, free: 1.305 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.587e-05/0.1394, allocations: 4.797 kB / 276.7 MB, free: 1.305 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1394, allocations: 2.094 kB / 276.7 MB, free: 1.305 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.1394, allocations: 0 / 276.7 MB, free: 1.305 MB / 266.7 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.00061/0.14, allocations: 0.5082 MB / 277.2 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.14, allocations: 9.219 kB / 277.2 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.1401, allocations: 112.4 kB / 277.3 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.1403, allocations: 188.4 kB / 277.5 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.798e-05/0.1404, allocations: 71.7 kB / 277.6 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.1404, allocations: 15.25 kB / 277.6 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.1406, allocations: 160.2 kB / 277.7 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1406, allocations: 4.875 kB / 277.8 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.1406, allocations: 9.281 kB / 277.8 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1406, allocations: 3.969 kB / 277.8 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.55e-05/0.1407, allocations: 47.19 kB / 277.8 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000457/0.1411, allocations: 424.8 kB / 278.2 MB, free: 332 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.1413, allocations: 83.88 kB / 278.3 MB, free: 308 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.447e-05/0.1413, allocations: 40.11 kB / 278.3 MB, free: 300 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.1414, allocations: 3.312 kB / 278.4 MB, free: 300 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.363e-05/0.1414, allocations: 33.47 kB / 278.4 MB, free: 260 kB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.353e-06/0.1414, allocations: 0 / 278.4 MB, free: 260 kB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004608/0.1418, allocations: 337.3 kB / 278.7 MB, free: 76 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.977e-05/0.1419, allocations: 53.94 kB / 278.8 MB, free: 12 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.142, allocations: 225.5 kB / 279 MB, free: 15.9 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.142, allocations: 31.64 kB / 279 MB, free: 15.86 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.698e-05/0.1421, allocations: 134 kB / 279.1 MB, free: 15.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.1421, allocations: 64.5 kB / 279.2 MB, free: 15.72 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.1422, allocations: 48.66 kB / 279.3 MB, free: 15.7 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.65e-05/0.1423, allocations: 337.4 kB / 279.6 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.98e-05/0.1423, allocations: 18.06 kB / 279.6 MB, free: 15.39 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.26e-05/0.1423, allocations: 49.05 kB / 279.7 MB, free: 15.37 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.821e-05/0.1424, allocations: 73.14 kB / 279.7 MB, free: 15.36 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1424, allocations: 3.938 kB / 279.7 MB, free: 15.35 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001309/0.1425, allocations: 113 kB / 279.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.1426, allocations: 10.84 kB / 279.8 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1426, allocations: 1.094 kB / 279.9 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.606e-06/0.1426, allocations: 1.672 kB / 279.9 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003103/0.1429, allocations: 107.9 kB / 280 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.1429, allocations: 1.188 kB / 280 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.596e-05/0.1429, allocations: 5.734 kB / 280 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.1429, allocations: 9.812 kB / 280 MB, free: 15.31 MB / 282.7 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 7.26e-05/0.143, allocations: 121.7 kB / 280.1 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.1431, allocations: 19.78 kB / 280.1 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.6e-05/0.1431, allocations: 29.69 kB / 280.1 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1431, allocations: 2.188 kB / 280.1 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1431, allocations: 1.859 kB / 280.1 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1431, allocations: 1.375 kB / 280.1 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003383/0.1434, allocations: 311.1 kB / 280.5 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1434, allocations: 9.094 kB / 280.5 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/0.1437, allocations: 73.45 kB / 280.5 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.683e-05/0.1437, allocations: 22.14 kB / 280.6 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1437, allocations: 0.5625 kB / 280.6 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.1437, allocations: 2.281 kB / 280.6 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.1437, allocations: 1.594 kB / 280.6 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.1437, allocations: 0 / 280.6 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.1439, allocations: 237.4 kB / 280.8 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.1439, allocations: 10.41 kB / 280.8 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.379e-05/0.144, allocations: 9 kB / 280.8 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.144, allocations: 10.34 kB / 280.8 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.1441, allocations: 3.844 kB / 280.8 MB, free: 14.83 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.725e-05/0.1441, allocations: 80.89 kB / 280.9 MB, free: 14.82 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1441, allocations: 0 / 280.9 MB, free: 14.82 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001618/0.1443, allocations: 47.41 kB / 280.9 MB, free: 14.82 MB / 282.7 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 7.314e-05/0.1444, allocations: 73.73 kB / 281 MB, free: 14.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001204/0.1445, allocations: 85.14 kB / 281.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.116e-06/0.1445, allocations: 7.922 kB / 281.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.019e-05/0.1445, allocations: 48.88 kB / 281.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.1447, allocations: 67.84 kB / 281.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/0.1476, allocations: 495.2 kB / 281.7 MB, free: 14.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.659e-05/0.1477, allocations: 83.84 kB / 281.8 MB, free: 14.36 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.864e-05/0.1477, allocations: 25.78 kB / 281.8 MB, free: 14.34 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.549e-05/0.1478, allocations: 80.06 kB / 281.9 MB, free: 14.3 MB / 282.7 MB Notification: Performance of SimCode: time 7.71e-07/0.1478, allocations: 1.062 kB / 281.9 MB, free: 14.3 MB / 282.7 MB Notification: Performance of Templates: time 0.004477/0.1523, allocations: 2.329 MB / 284.2 MB, free: 14.07 MB / 282.7 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=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.611359002068639]