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.0009037/0.0009037, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 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.9816/0.9816, allocations: 177.2 MB / 200 MB, free: 5.535 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.001179/0.001179, allocations: 156.6 kB / 256.6 MB, free: 13 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.04517/0.04517, allocations: 6.668 MB / 319.8 MB, free: 11.61 MB / 298.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 1.913e-06/1.913e-06, allocations: 0 / 391.6 MB, free: 3.672 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.613e-05, allocations: 6.25 kB / 391.6 MB, free: 3.664 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.Coupling): time 0.003124/0.00315, allocations: 2.558 MB / 394.2 MB, free: 1.09 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.004243, allocations: 0.6154 MB / 394.8 MB, free: 480 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.004375, allocations: 4 kB / 394.8 MB, free: 476 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.004526, allocations: 35.64 kB / 394.8 MB, free: 440 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.00466, allocations: 67.34 kB / 394.9 MB, free: 372 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.004925, allocations: 71.78 kB / 395 MB, free: 300 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002561/0.005181, allocations: 274.8 kB / 395.3 MB, free: 24 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.005369, allocations: 71.3 kB / 395.3 MB, free: 15.95 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.005516, allocations: 147.7 kB / 395.5 MB, free: 15.81 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.005643, allocations: 83.7 kB / 395.5 MB, free: 15.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.468e-05/0.005678, allocations: 24 kB / 395.6 MB, free: 15.7 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.725e-05/0.005705, allocations: 24 kB / 395.6 MB, free: 15.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.737e-05/0.005743, allocations: 51.81 kB / 395.6 MB, free: 15.63 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.704e-05/0.00581, allocations: 87.77 kB / 395.7 MB, free: 15.54 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.00603, allocations: 179.4 kB / 395.9 MB, free: 15.37 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.006033, allocations: 0 / 395.9 MB, free: 15.37 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.006035, allocations: 3.938 kB / 395.9 MB, free: 15.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.006041, allocations: 4 kB / 395.9 MB, free: 15.36 MB / 378.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.0006/0.006641, allocations: 0.5469 MB / 396.5 MB, free: 14.78 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.006677, allocations: 8.031 kB / 396.5 MB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.148e-05/0.006749, allocations: 48.75 kB / 396.5 MB, free: 14.72 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.006984, allocations: 188.3 kB / 396.7 MB, free: 14.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.007012, allocations: 12.88 kB / 396.7 MB, free: 14.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.993e-05/0.007052, allocations: 28.38 kB / 396.7 MB, free: 14.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003302/0.007382, allocations: 243.3 kB / 397 MB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.007393, allocations: 7.922 kB / 397 MB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.007412, allocations: 8 kB / 397 MB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.007423, allocations: 4 kB / 397 MB, free: 14.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.007561, allocations: 90.94 kB / 397.1 MB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009985/0.008559, allocations: 0.8193 MB / 397.9 MB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.008736, allocations: 103 kB / 398 MB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.229e-05/0.008788, allocations: 31.67 kB / 398 MB, free: 13.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.008809, allocations: 7.938 kB / 398 MB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.008833, allocations: 37.39 kB / 398.1 MB, free: 13.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 2.074e-06/0.008835, allocations: 0 / 398.1 MB, free: 13.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007697/0.009605, allocations: 389.4 kB / 398.5 MB, free: 12.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.009633, allocations: 51.41 kB / 398.5 MB, free: 12.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.009766, allocations: 234.5 kB / 398.7 MB, free: 12.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.009779, allocations: 25.7 kB / 398.8 MB, free: 12.26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.226e-05/0.009861, allocations: 206.9 kB / 399 MB, free: 12.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.009899, allocations: 55.48 kB / 399 MB, free: 12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.403e-05/0.009953, allocations: 47.36 kB / 399.1 MB, free: 11.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.01007, allocations: 0.4962 MB / 399.6 MB, free: 11.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.228e-05/0.01012, allocations: 27.84 kB / 399.6 MB, free: 11.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.545e-05/0.0102, allocations: 93.72 kB / 399.7 MB, free: 11.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.01032, allocations: 141.1 kB / 399.8 MB, free: 11.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.01033, allocations: 0 / 399.8 MB, free: 11.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001875/0.01051, allocations: 161.3 kB / 400 MB, free: 10.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.01053, allocations: 12.19 kB / 400 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.01054, allocations: 0 / 400 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.01056, allocations: 4 kB / 400 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.01071, allocations: 43.97 kB / 400 MB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.01072, allocations: 7.938 kB / 400 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.569e-05/0.01077, allocations: 8 kB / 400.1 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.01078, allocations: 4 kB / 400.1 MB, free: 10.88 MB / 378.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 9.664e-05/0.01088, allocations: 168.5 kB / 400.2 MB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.01091, allocations: 19.89 kB / 400.2 MB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.743e-05/0.01095, allocations: 29.45 kB / 400.3 MB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.01095, allocations: 4 kB / 400.3 MB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.01095, allocations: 0 / 400.3 MB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.01096, allocations: 3.938 kB / 400.3 MB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.01112, allocations: 188.5 kB / 400.5 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.01113, allocations: 3.938 kB / 400.5 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.01123, allocations: 39.98 kB / 400.5 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.01123, allocations: 0 / 400.5 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.01124, allocations: 3.984 kB / 400.5 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.01124, allocations: 0 / 400.5 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.01124, allocations: 8 kB / 400.5 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.01151, allocations: 295.3 kB / 400.8 MB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.423e-05/0.01155, allocations: 19.94 kB / 400.8 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.01157, allocations: 0 / 400.8 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.372e-05/0.01163, allocations: 8 kB / 400.8 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.01167, allocations: 11.97 kB / 400.8 MB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.01168, allocations: 4 kB / 400.8 MB, free: 10.03 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.824e-05/0.01175, allocations: 159.9 kB / 401 MB, free: 9.871 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01175, allocations: 0 / 401 MB, free: 9.871 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001972/0.01195, allocations: 44 kB / 401 MB, free: 9.828 MB / 378.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 8.13e-05/0.01203, allocations: 95.28 kB / 401.1 MB, free: 9.723 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000169/0.0122, allocations: 99.45 kB / 401.2 MB, free: 9.621 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.0122, allocations: 0 / 401.2 MB, free: 9.621 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.119e-05/0.01225, allocations: 51.59 kB / 401.3 MB, free: 9.566 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.01247, allocations: 27.88 kB / 401.3 MB, free: 9.539 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008287/0.0133, allocations: 426 kB / 401.7 MB, free: 9.098 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.915e-05/0.01335, allocations: 83.69 kB / 401.8 MB, free: 8.996 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.866e-05/0.0134, allocations: 9.484 kB / 401.8 MB, free: 8.988 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.479e-05/0.01344, allocations: 24.48 kB / 401.8 MB, free: 8.965 MB / 378.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01344, allocations: 0 / 401.8 MB, free: 8.965 MB / 378.7 MB Notification: Performance of Templates: time 0.003341/0.01679, allocations: 1.298 MB / 403.1 MB, free: 7.688 MB / 378.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 -lv LOG_STATS > HanserModelica_HanserModelica.Magnetic.Coupling.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0166394128464162]