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.001462/0.001462, allocations: 80.81 kB / 19.94 MB, free: 4.543 MB / 18.57 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.991/0.991, allocations: 177.2 MB / 200.3 MB, free: 5.301 MB / 186.7 MB " [Timeout remaining time 179] 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.001494/0.001494, allocations: 167.7 kB / 257 MB, free: 12.78 MB / 250.7 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.02486/0.02486, allocations: 6.655 MB / 266.9 MB, free: 3.039 MB / 250.7 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: Performance of FrontEnd - loaded program: time 2.896e-06/2.896e-06, allocations: 4 kB / 285.7 MB, free: 284 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.449e-05, allocations: 5.828 kB / 285.7 MB, free: 280 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.Coupling): time 0.1121/0.1121, allocations: 2.585 MB / 288.3 MB, free: 21.26 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.1131, allocations: 0.6286 MB / 288.9 MB, free: 20.83 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.1132, allocations: 8.656 kB / 288.9 MB, free: 20.83 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.1134, allocations: 34.94 kB / 288.9 MB, free: 20.81 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001232/0.1135, allocations: 63.3 kB / 289 MB, free: 20.76 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.1137, allocations: 71.38 kB / 289.1 MB, free: 20.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002587/0.114, allocations: 268 kB / 289.3 MB, free: 20.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.1141, allocations: 76.06 kB / 289.4 MB, free: 20.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.1143, allocations: 148.5 kB / 289.5 MB, free: 20.49 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.1145, allocations: 89.81 kB / 289.6 MB, free: 20.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.535e-05/0.1145, allocations: 22.69 kB / 289.6 MB, free: 20.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.1e-05/0.1145, allocations: 22.19 kB / 289.7 MB, free: 20.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.714e-05/0.1146, allocations: 53.16 kB / 289.7 MB, free: 20.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.915e-05/0.1146, allocations: 86.47 kB / 289.8 MB, free: 20.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.1149, allocations: 181.3 kB / 290 MB, free: 20.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1149, allocations: 0.6094 kB / 290 MB, free: 20.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1149, allocations: 0.6875 kB / 290 MB, free: 20.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.1149, allocations: 1.125 kB / 290 MB, free: 20.3 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0004871/0.1154, allocations: 439.2 kB / 290.4 MB, free: 19.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.1154, allocations: 11.19 kB / 290.4 MB, free: 19.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.243e-05/0.1155, allocations: 37.14 kB / 290.5 MB, free: 19.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.1156, allocations: 156.5 kB / 290.6 MB, free: 19.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.1156, allocations: 18.81 kB / 290.6 MB, free: 19.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.1157, allocations: 24.34 kB / 290.7 MB, free: 19.78 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.1159, allocations: 223.8 kB / 290.9 MB, free: 19.65 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1159, allocations: 7.781 kB / 290.9 MB, free: 19.65 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.116, allocations: 11.02 kB / 290.9 MB, free: 19.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.116, allocations: 6.172 kB / 290.9 MB, free: 19.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.067e-05/0.1161, allocations: 61.44 kB / 291 MB, free: 19.63 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006699/0.1167, allocations: 0.6107 MB / 291.6 MB, free: 19.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.1169, allocations: 84.72 kB / 291.7 MB, free: 19.15 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.579e-05/0.1169, allocations: 26.89 kB / 291.7 MB, free: 19.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.1169, allocations: 3.797 kB / 291.7 MB, free: 19.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.1169, allocations: 36.41 kB / 291.7 MB, free: 19.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.044e-06/0.1169, allocations: 0 / 291.7 MB, free: 19.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006243/0.1176, allocations: 346.1 kB / 292.1 MB, free: 18.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.791e-05/0.1176, allocations: 54.11 kB / 292.1 MB, free: 18.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.759e-05/0.1177, allocations: 161.4 kB / 292.3 MB, free: 18.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.447e-06/0.1177, allocations: 31.3 kB / 292.3 MB, free: 18.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.1177, allocations: 163.8 kB / 292.5 MB, free: 18.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.1178, allocations: 54.97 kB / 292.5 MB, free: 18.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.1178, allocations: 37.94 kB / 292.5 MB, free: 18.45 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.545e-05/0.1178, allocations: 328.8 kB / 292.9 MB, free: 18.13 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.026e-05/0.1179, allocations: 16.5 kB / 292.9 MB, free: 18.13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.447e-05/0.1179, allocations: 67.16 kB / 293 MB, free: 18.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.185e-05/0.118, allocations: 114.9 kB / 293.1 MB, free: 17.99 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.118, allocations: 1.844 kB / 293.1 MB, free: 17.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001358/0.1181, allocations: 118.8 kB / 293.2 MB, free: 17.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.1182, allocations: 7.844 kB / 293.2 MB, free: 17.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1182, allocations: 1.031 kB / 293.2 MB, free: 17.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.1182, allocations: 3.141 kB / 293.2 MB, free: 17.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.1184, allocations: 64.22 kB / 293.3 MB, free: 17.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1184, allocations: 3.281 kB / 293.3 MB, free: 17.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.917e-05/0.1184, allocations: 5.031 kB / 293.3 MB, free: 17.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.1184, allocations: 8.719 kB / 293.3 MB, free: 17.93 MB / 266.7 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 5.538e-05/0.1185, allocations: 125.7 kB / 293.4 MB, free: 17.81 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.1185, allocations: 12.56 kB / 293.4 MB, free: 17.81 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.999e-05/0.1185, allocations: 22.34 kB / 293.4 MB, free: 17.79 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1185, allocations: 3.281 kB / 293.4 MB, free: 17.79 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1185, allocations: 1.062 kB / 293.4 MB, free: 17.79 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1185, allocations: 0.6562 kB / 293.4 MB, free: 17.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.1187, allocations: 123.8 kB / 293.6 MB, free: 17.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1187, allocations: 0 / 293.6 MB, free: 17.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.1188, allocations: 52.02 kB / 293.6 MB, free: 17.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1188, allocations: 1.281 kB / 293.6 MB, free: 17.69 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.1188, allocations: 8.422 kB / 293.6 MB, free: 17.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1188, allocations: 6.781 kB / 293.6 MB, free: 17.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1188, allocations: 0.5625 kB / 293.6 MB, free: 17.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.119, allocations: 213.3 kB / 293.8 MB, free: 17.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.518e-05/0.119, allocations: 16.25 kB / 293.8 MB, free: 17.53 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.1191, allocations: 1.031 kB / 293.8 MB, free: 17.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.87e-05/0.1191, allocations: 10.3 kB / 293.9 MB, free: 17.52 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.1191, allocations: 8.812 kB / 293.9 MB, free: 17.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.1192, allocations: 2.594 kB / 293.9 MB, free: 17.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.919e-05/0.1192, allocations: 44.33 kB / 293.9 MB, free: 17.51 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1192, allocations: 0 / 293.9 MB, free: 17.51 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001583/0.1194, allocations: 39.81 kB / 294 MB, free: 17.5 MB / 266.7 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 7.016e-05/0.1194, allocations: 81.23 kB / 294 MB, free: 17.43 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.1195, allocations: 77.41 kB / 294.1 MB, free: 17.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.1195, allocations: 2.656 kB / 294.1 MB, free: 17.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.866e-05/0.1196, allocations: 40.97 kB / 294.1 MB, free: 17.4 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.1197, allocations: 33.09 kB / 294.2 MB, free: 17.38 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006487/0.1204, allocations: 434.2 kB / 294.6 MB, free: 17.11 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.242e-05/0.1204, allocations: 75.81 kB / 294.7 MB, free: 17.04 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.574e-05/0.1205, allocations: 14.8 kB / 294.7 MB, free: 17.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.427e-05/0.1206, allocations: 83.61 kB / 294.8 MB, free: 16.98 MB / 266.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1206, allocations: 0 / 294.8 MB, free: 16.98 MB / 266.7 MB Notification: Performance of Templates: time 0.003626/0.1242, allocations: 1.523 MB / 296.3 MB, free: 16.81 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.Magnetic.Coupling.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5306611475534737]