Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001421/0.001421, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.281/1.281, allocations: 205.1 MB / 223.1 MB, free: 8.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009554/0.0009554, allocations: 102.8 kB / 270.5 MB, free: 8.441 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3641/0.3641, allocations: 48.83 MB / 366.7 MB, free: 46.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 55.92 kB / 436.6 MB, free: 11.44 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1098, allocations: 59.14 MB / 495.7 MB, free: 164 kB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.003192/0.1131, allocations: 2.181 MB / 497.9 MB, free: 13.96 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009797/0.1141, allocations: 0.6085 MB / 498.5 MB, free: 13.34 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.1142, allocations: 7.938 kB / 498.5 MB, free: 13.34 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.1143, allocations: 19.78 kB / 498.6 MB, free: 13.32 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002088/0.1146, allocations: 51.62 kB / 498.6 MB, free: 13.27 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001326/0.1147, allocations: 39.95 kB / 498.6 MB, free: 13.23 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.115, allocations: 203 kB / 498.8 MB, free: 13.03 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.1151, allocations: 36.28 kB / 498.9 MB, free: 12.99 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.1152, allocations: 79.58 kB / 499 MB, free: 12.91 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.1154, allocations: 75.62 kB / 499 MB, free: 12.84 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.1154, allocations: 8 kB / 499 MB, free: 12.83 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.697e-05/0.1155, allocations: 16 kB / 499.1 MB, free: 12.82 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.043e-05/0.1155, allocations: 31.78 kB / 499.1 MB, free: 12.79 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 8.365e-05/0.1156, allocations: 83.53 kB / 499.2 MB, free: 12.7 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.1158, allocations: 155.6 kB / 499.3 MB, free: 12.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1158, allocations: 0 / 499.3 MB, free: 12.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1158, allocations: 0 / 499.3 MB, free: 12.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1158, allocations: 4 kB / 499.3 MB, free: 12.55 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006848/0.1165, allocations: 0.4907 MB / 499.8 MB, free: 12.01 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.1165, allocations: 15.97 kB / 499.8 MB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.197e-05/0.1166, allocations: 24.66 kB / 499.9 MB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.1169, allocations: 240.9 kB / 0.4884 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.1169, allocations: 12.31 kB / 0.4884 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.117, allocations: 12.38 kB / 0.4884 GB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.1172, allocations: 133.1 kB / 0.4885 GB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.1172, allocations: 8 kB / 0.4885 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.1172, allocations: 7.938 kB / 0.4885 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1172, allocations: 7.938 kB / 0.4885 GB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001726/0.1174, allocations: 71.95 kB / 0.4886 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007072/0.1181, allocations: 0.5567 MB / 0.4892 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.1184, allocations: 102.6 kB / 0.4893 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.1185, allocations: 40.84 kB / 0.4893 GB, free: 10.67 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.1185, allocations: 4 kB / 0.4893 GB, free: 10.66 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.1186, allocations: 34.56 kB / 0.4893 GB, free: 10.62 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.734e-06/0.1186, allocations: 0 / 0.4893 GB, free: 10.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007526/0.1193, allocations: 441.6 kB / 0.4898 GB, free: 10.14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.1194, allocations: 59.34 kB / 0.4898 GB, free: 10.07 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.1196, allocations: 229 kB / 0.49 GB, free: 9.832 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.1196, allocations: 33.7 kB / 0.4901 GB, free: 9.793 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.477e-05/0.1197, allocations: 128.3 kB / 0.4902 GB, free: 9.664 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.1197, allocations: 47.3 kB / 0.4902 GB, free: 9.617 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.905e-05/0.1198, allocations: 29.72 kB / 0.4903 GB, free: 9.582 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.742e-05/0.1199, allocations: 330.8 kB / 0.4906 GB, free: 9.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-05/0.12, allocations: 27.98 kB / 0.4906 GB, free: 9.223 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.423e-05/0.1201, allocations: 54.56 kB / 0.4906 GB, free: 9.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.1202, allocations: 102.4 kB / 0.4907 GB, free: 9.051 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1202, allocations: 0 / 0.4907 GB, free: 9.051 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002378/0.1205, allocations: 145.4 kB / 0.4909 GB, free: 8.902 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1205, allocations: 7.938 kB / 0.4909 GB, free: 8.895 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1205, allocations: 0 / 0.4909 GB, free: 8.895 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1205, allocations: 8.062 kB / 0.4909 GB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.1207, allocations: 31.98 kB / 0.4909 GB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1207, allocations: 0 / 0.4909 GB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.1208, allocations: 15.89 kB / 0.4909 GB, free: 8.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.1208, allocations: 4 kB / 0.4909 GB, free: 8.836 MB / 394.7 MB 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 (16): * Single equations (assignments): 16 * 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.883e-05/0.1209, allocations: 125.7 kB / 0.4911 GB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.209e-05/0.121, allocations: 19.75 kB / 0.4911 GB, free: 8.684 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.04e-05/0.121, allocations: 29.7 kB / 0.4911 GB, free: 8.648 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.121, allocations: 4 kB / 0.4911 GB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1211, allocations: 0 / 0.4911 GB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.1211, allocations: 0 / 0.4911 GB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004907/0.1216, allocations: 442.3 kB / 0.4915 GB, free: 8.156 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1216, allocations: 3.984 kB / 0.4915 GB, free: 8.152 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.1217, allocations: 24 kB / 0.4916 GB, free: 8.129 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1217, allocations: 7.984 kB / 0.4916 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.1218, allocations: 0 / 0.4916 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.253e-06/0.1218, allocations: 4 kB / 0.4916 GB, free: 8.117 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1218, allocations: 7.938 kB / 0.4916 GB, free: 8.109 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.1236, allocations: 1.509 MB / 0.4931 GB, free: 6.465 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.285e-05/0.1237, allocations: 104.9 kB / 0.4932 GB, free: 6.344 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.1237, allocations: 3.938 kB / 0.4932 GB, free: 6.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.1238, allocations: 4 kB / 0.4932 GB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-05/0.1239, allocations: 7.984 kB / 0.4932 GB, free: 6.328 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.1239, allocations: 8 kB / 0.4932 GB, free: 6.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001435/0.124, allocations: 172.4 kB / 0.4933 GB, free: 6.152 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.124, allocations: 0 / 0.4933 GB, free: 6.152 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003472/0.1244, allocations: 48 kB / 0.4934 GB, free: 6.105 MB / 394.7 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 (12): * Single equations (assignments): 12 * 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.321e-05/0.1245, allocations: 99.28 kB / 0.4935 GB, free: 6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002069/0.1247, allocations: 87.84 kB / 0.4936 GB, free: 5.914 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1247, allocations: 0 / 0.4936 GB, free: 5.914 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.448e-05/0.1248, allocations: 48.09 kB / 0.4936 GB, free: 5.867 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.1252, allocations: 32.66 kB / 0.4936 GB, free: 5.836 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009951/0.1262, allocations: 0.7023 MB / 0.4943 GB, free: 5.098 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.1265, allocations: 0.74 MB / 0.4951 GB, free: 4.332 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.316e-05/0.1266, allocations: 13.55 kB / 0.4951 GB, free: 4.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.125e-05/0.1266, allocations: 23.44 kB / 0.4951 GB, free: 4.297 MB / 394.7 MB Notification: Performance of SimCode: time 3.2e-07/0.1266, allocations: 0 / 0.4951 GB, free: 4.297 MB / 394.7 MB Notification: Performance of Templates: time 0.004287/0.1309, allocations: 1.747 MB / 0.4968 GB, free: 2.551 MB / 394.7 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.makefile (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1)