Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Magnetic.Coupling.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.001699/0.001699, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.483/1.483, allocations: 177.2 MB / 200.1 MB, free: 8.324 MB / 190.1 MB " [Timeout remaining time 178] 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.001718/0.001718, allocations: 165.4 kB / 256.6 MB, free: 4.27 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.03921/0.03921, allocations: 6.656 MB / 319.6 MB, free: 5.344 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Magnetic.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.Coupling") translateModel(HanserModelica.Magnetic.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.Coupling") [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica 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.002511/0.002511, allocations: 80.25 kB / 446.4 MB, free: 10.4 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1074, allocations: 55.59 MB / 0.4902 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.Coupling): time 0.004005/0.1114, allocations: 2.408 MB / 0.4926 GB, free: 288 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.1126, allocations: 0.5999 MB / 0.4932 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.1127, allocations: 8 kB / 0.4932 GB, free: 15.67 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001493/0.1128, allocations: 39.64 kB / 0.4932 GB, free: 15.63 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.113, allocations: 55.42 kB / 0.4933 GB, free: 15.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.1132, allocations: 67.86 kB / 0.4933 GB, free: 15.51 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003211/0.1135, allocations: 262.9 kB / 0.4936 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.1137, allocations: 67.31 kB / 0.4937 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.1138, allocations: 107.6 kB / 0.4938 GB, free: 15.08 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.114, allocations: 99.48 kB / 0.4939 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.915e-05/0.1141, allocations: 20 kB / 0.4939 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.568e-05/0.1141, allocations: 24 kB / 0.4939 GB, free: 14.94 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.578e-05/0.1142, allocations: 51.84 kB / 0.4939 GB, free: 14.89 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.1143, allocations: 103.5 kB / 0.494 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003544/0.1146, allocations: 270.9 kB / 0.4943 GB, free: 14.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1146, allocations: 0 / 0.4943 GB, free: 14.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.1146, allocations: 0 / 0.4943 GB, free: 14.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1146, allocations: 0 / 0.4943 GB, free: 14.52 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.000818/0.1155, allocations: 469.6 kB / 0.4947 GB, free: 14.03 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.1155, allocations: 11.98 kB / 0.4948 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.5e-05/0.1156, allocations: 28.8 kB / 0.4948 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.1159, allocations: 175.2 kB / 0.495 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.1159, allocations: 20.88 kB / 0.495 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.27e-05/0.116, allocations: 28.06 kB / 0.495 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005038/0.1165, allocations: 268.4 kB / 0.4953 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1165, allocations: 4 kB / 0.4953 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/0.1165, allocations: 15.98 kB / 0.4953 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.1165, allocations: 4 kB / 0.4953 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003702/0.1169, allocations: 153.9 kB / 0.4954 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.1182, allocations: 0.7314 MB / 0.4961 GB, free: 12.51 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003289/0.1185, allocations: 114.5 kB / 0.4962 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.1187, allocations: 56.75 kB / 0.4963 GB, free: 12.33 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.1187, allocations: 4 kB / 0.4963 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.1187, allocations: 34.56 kB / 0.4963 GB, free: 12.28 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.1187, allocations: 0 / 0.4963 GB, free: 12.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=15): time 0.001313/0.12, allocations: 455.3 kB / 0.4968 GB, free: 11.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.1201, allocations: 51.41 kB / 0.4968 GB, free: 11.74 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.1203, allocations: 171.2 kB / 0.497 GB, free: 11.56 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.1203, allocations: 29.7 kB / 0.497 GB, free: 11.53 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.1204, allocations: 164.2 kB / 0.4972 GB, free: 11.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.754e-05/0.1205, allocations: 59.52 kB / 0.4972 GB, free: 11.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.349e-05/0.1206, allocations: 41.66 kB / 0.4973 GB, free: 11.26 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.1207, allocations: 326.8 kB / 0.4976 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.1209, allocations: 51.97 kB / 0.4976 GB, free: 10.88 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.121, allocations: 89.98 kB / 0.4977 GB, free: 10.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003119/0.1214, allocations: 149.9 kB / 0.4979 GB, free: 10.6 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1214, allocations: 0 / 0.4979 GB, free: 10.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003853/0.1217, allocations: 183.9 kB / 0.498 GB, free: 10.42 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.861e-05/0.1218, allocations: 8 kB / 0.498 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1219, allocations: 0 / 0.498 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.858e-05/0.1219, allocations: 4 kB / 0.498 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.1221, allocations: 51.91 kB / 0.4981 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.1221, allocations: 4.188 kB / 0.4981 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.1223, allocations: 11.94 kB / 0.4981 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.1223, allocations: 8 kB / 0.4981 GB, free: 10.33 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (switch.control) * 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.0001613/0.1224, allocations: 141.7 kB / 0.4983 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.057e-05/0.1225, allocations: 11.91 kB / 0.4983 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.187e-05/0.1225, allocations: 17.47 kB / 0.4983 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1225, allocations: 4 kB / 0.4983 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1225, allocations: 0 / 0.4983 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.1225, allocations: 3.984 kB / 0.4983 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/0.1228, allocations: 189.2 kB / 0.4985 GB, free: 9.934 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1228, allocations: 0 / 0.4985 GB, free: 9.934 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.123, allocations: 39.92 kB / 0.4985 GB, free: 9.895 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.123, allocations: 0 / 0.4985 GB, free: 9.895 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.123, allocations: 7.938 kB / 0.4985 GB, free: 9.887 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.123, allocations: 4 kB / 0.4985 GB, free: 9.883 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1231, allocations: 0 / 0.4985 GB, free: 9.883 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005716/0.1236, allocations: 295.3 kB / 0.4988 GB, free: 9.578 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.815e-05/0.1237, allocations: 19.92 kB / 0.4988 GB, free: 9.559 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.1237, allocations: 4 kB / 0.4988 GB, free: 9.555 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.1238, allocations: 12.06 kB / 0.4988 GB, free: 9.543 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.1239, allocations: 11.97 kB / 0.4988 GB, free: 9.531 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.1239, allocations: 3.938 kB / 0.4988 GB, free: 9.527 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001223/0.124, allocations: 128.9 kB / 0.499 GB, free: 9.402 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.124, allocations: 0 / 0.499 GB, free: 9.402 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002895/0.1243, allocations: 40 kB / 0.499 GB, free: 9.363 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (converter.i) * Number of discrete variables: 1 (switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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 9.929e-05/0.1244, allocations: 91.25 kB / 0.4991 GB, free: 9.266 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003524/0.1248, allocations: 132 kB / 0.4992 GB, free: 9.137 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1248, allocations: 0 / 0.4992 GB, free: 9.137 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.1249, allocations: 47.98 kB / 0.4993 GB, free: 9.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.1252, allocations: 15.98 kB / 0.4993 GB, free: 9.074 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.1262, allocations: 480.3 kB / 0.4997 GB, free: 8.578 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.1263, allocations: 129.1 kB / 0.4999 GB, free: 8.434 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.501e-05/0.1264, allocations: 13.48 kB / 0.4999 GB, free: 8.422 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.922e-05/0.1265, allocations: 16.5 kB / 0.4999 GB, free: 8.406 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1265, allocations: 0 / 0.4999 GB, free: 8.406 MB / 430.1 MB Notification: Performance of Templates: time 0.004834/0.1313, allocations: 1.293 MB / 0.5012 GB, free: 7.137 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Magnetic.Coupling.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Magnetic.Coupling.pipe ; mkfifo HanserModelica_HanserModelica.Magnetic.Coupling.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Magnetic.Coupling.pipe >> ../files/HanserModelica_HanserModelica.Magnetic.Coupling.sim & ./HanserModelica_HanserModelica.Magnetic.Coupling -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.Magnetic.Coupling.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.8715975700179115] Failed to read output from testmodel.py, exit status != 0: 0.14014280796982348 0.322000278 0.20454781700000002 Calling exit ...