Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 112 kB / 18.45 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 189.2 kB / 21.4 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 207.6 MB / 231.8 MB, free: 4.219 MB / 174.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4045/0.4045, allocations: 49.52 MB / 333.2 MB, free: 0.8203 MB / 254.1 MB " [Timeout remaining time 179] 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.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") [Timeout 660] "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.003117/0.003117, allocations: 71.36 kB / 471.9 MB, free: 40.81 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1048, allocations: 62.34 MB / 0.5217 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.002946/0.1078, allocations: 2.194 MB / 0.5239 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.1089, allocations: 0.6358 MB / 0.5245 GB, free: 15.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.109, allocations: 3.938 kB / 0.5245 GB, free: 15.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001381/0.1091, allocations: 27.67 kB / 0.5245 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002458/0.1094, allocations: 83.39 kB / 0.5246 GB, free: 14.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.1096, allocations: 51.92 kB / 0.5247 GB, free: 14.85 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003176/0.1099, allocations: 242.9 kB / 0.5249 GB, free: 14.61 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.11, allocations: 44.31 kB / 0.5249 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001741/0.1102, allocations: 99.56 kB / 0.525 GB, free: 14.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.1104, allocations: 99.42 kB / 0.5251 GB, free: 14.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.745e-05/0.1105, allocations: 16 kB / 0.5251 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.47e-05/0.1105, allocations: 28 kB / 0.5252 GB, free: 14.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.349e-05/0.1106, allocations: 39.83 kB / 0.5252 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.1107, allocations: 107.3 kB / 0.5253 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003293/0.111, allocations: 195 kB / 0.5255 GB, free: 13.99 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.111, allocations: 4 kB / 0.5255 GB, free: 13.99 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.111, allocations: 0 / 0.5255 GB, free: 13.99 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.575e-06/0.1111, allocations: 0 / 0.5255 GB, free: 13.99 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0009712/0.112, allocations: 0.5333 MB / 0.526 GB, free: 13.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.1121, allocations: 15.89 kB / 0.526 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.1122, allocations: 24.8 kB / 0.5261 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003752/0.1125, allocations: 262.9 kB / 0.5263 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.1126, allocations: 8.375 kB / 0.5263 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.736e-05/0.1126, allocations: 20.36 kB / 0.5263 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.1129, allocations: 151.7 kB / 0.5265 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.1129, allocations: 7.938 kB / 0.5265 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.1129, allocations: 4 kB / 0.5265 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1129, allocations: 4 kB / 0.5265 GB, free: 12.87 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002423/0.1132, allocations: 99.88 kB / 0.5266 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009692/0.1141, allocations: 0.6037 MB / 0.5272 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.1144, allocations: 126.5 kB / 0.5273 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.1146, allocations: 64.83 kB / 0.5274 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.1146, allocations: 0 / 0.5274 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.1146, allocations: 42.5 kB / 0.5274 GB, free: 11.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 9.52e-07/0.1146, allocations: 0 / 0.5274 GB, free: 11.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.00116/0.1158, allocations: 0.5603 MB / 0.528 GB, free: 11.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.1158, allocations: 55.41 kB / 0.528 GB, free: 11.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002603/0.1161, allocations: 237 kB / 0.5282 GB, free: 10.94 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.1161, allocations: 25.7 kB / 0.5283 GB, free: 10.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.1162, allocations: 132.5 kB / 0.5284 GB, free: 10.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.767e-05/0.1163, allocations: 71.42 kB / 0.5284 GB, free: 10.7 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.81e-05/0.1163, allocations: 41.7 kB / 0.5285 GB, free: 10.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1165, allocations: 326.8 kB / 0.5288 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.1166, allocations: 51.97 kB / 0.5289 GB, free: 10.28 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.1168, allocations: 78.53 kB / 0.5289 GB, free: 10.19 MB / 398.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: grid.f = grid.fnom (0.15915494309189535 * generator.omega_e_nom = grid.fnom) Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.118, allocations: 420.9 kB / 0.5293 GB, free: 9.754 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.118, allocations: 0 / 0.5293 GB, free: 9.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004006/0.1184, allocations: 201.3 kB / 0.5295 GB, free: 9.551 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.1184, allocations: 4 kB / 0.5295 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1184, allocations: 0 / 0.5295 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.1184, allocations: 4 kB / 0.5295 GB, free: 9.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/0.1186, allocations: 55.91 kB / 0.5296 GB, free: 9.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1187, allocations: 0 / 0.5296 GB, free: 9.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.1188, allocations: 15.98 kB / 0.5296 GB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.1188, allocations: 8 kB / 0.5296 GB, free: 9.465 MB / 398.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: grid.f = grid.fnom. 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 (23): * Single equations (assignments): 23 * 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 0.0001249/0.1189, allocations: 129.9 kB / 0.5297 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.901e-05/0.119, allocations: 23.8 kB / 0.5297 GB, free: 9.305 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.592e-05/0.119, allocations: 34.17 kB / 0.5298 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.119, allocations: 3.938 kB / 0.5298 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.119, allocations: 0 / 0.5298 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.119, allocations: 0 / 0.5298 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007621/0.1198, allocations: 0.5178 MB / 0.5303 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1198, allocations: 0 / 0.5303 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002769/0.1201, allocations: 55.91 kB / 0.5303 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1201, allocations: 0 / 0.5303 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.1201, allocations: 3.938 kB / 0.5303 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1201, allocations: 0 / 0.5303 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1201, allocations: 7.984 kB / 0.5304 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005412/0.1206, allocations: 343.4 kB / 0.5307 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.1207, allocations: 113 kB / 0.5308 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.1208, allocations: 3.938 kB / 0.5308 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.1209, allocations: 8 kB / 0.5308 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.121, allocations: 11.98 kB / 0.5308 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.121, allocations: 4 kB / 0.5308 GB, free: 8.117 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001696/0.1211, allocations: 176.3 kB / 0.531 GB, free: 7.945 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1211, allocations: 0 / 0.531 GB, free: 7.945 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.1214, allocations: 40 kB / 0.531 GB, free: 7.906 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (generator.phi,generator.omega_m,generator.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 (18): * Single equations (assignments): 18 * 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 0.0001031/0.1215, allocations: 95.25 kB / 0.5311 GB, free: 7.805 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003365/0.1219, allocations: 131.9 kB / 0.5312 GB, free: 7.676 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1219, allocations: 0 / 0.5312 GB, free: 7.676 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.122, allocations: 63.91 kB / 0.5313 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.1224, allocations: 44.41 kB / 0.5313 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.1234, allocations: 0.598 MB / 0.5319 GB, free: 6.941 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.1238, allocations: 0.7397 MB / 0.5327 GB, free: 6.176 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.63e-05/0.1239, allocations: 23.44 kB / 0.5327 GB, free: 6.152 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1239, allocations: 0 / 0.5327 GB, free: 6.152 MB / 398.1 MB Notification: Performance of Templates: time 0.00445/0.1284, allocations: 2.38 MB / 0.535 GB, free: 3.77 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.083415480097756] Failed to read output from testmodel.py, exit status != 0: 0.13631106493994594 0.14875274700000002 0.035018451 Calling exit ...