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.0009761/0.0009761, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001378/0.002354, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.012/1.012, allocations: 177.2 MB / 188.4 MB, free: 4.41 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1851/1.197, allocations: 53.65 MB / 242 MB, free: 2.609 MB / 234.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.001165/0.001165, allocations: 158 kB / 242.9 MB, free: 1.727 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003754/0.004919, allocations: 486.3 kB / 243.4 MB, free: 1.266 MB / 234.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.03929/0.03929, allocations: 6.658 MB / 250.8 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006102/0.0454, allocations: 2.666 MB / 253.5 MB, free: 7.398 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 1.973e-06/1.973e-06, allocations: 0 / 254.7 MB, free: 6.117 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.409e-05/2.606e-05, allocations: 2.312 kB / 254.7 MB, free: 6.113 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.Coupling): time 0.004568/0.004594, allocations: 2.625 MB / 257.4 MB, free: 3.477 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.00576, allocations: 0.6269 MB / 258 MB, free: 2.844 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.005874, allocations: 4 kB / 258 MB, free: 2.84 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.005976, allocations: 43.58 kB / 258 MB, free: 2.797 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002292/0.006205, allocations: 63.34 kB / 258.1 MB, free: 2.734 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.006505, allocations: 63.91 kB / 258.2 MB, free: 2.672 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003536/0.006858, allocations: 270.8 kB / 258.4 MB, free: 2.406 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.007046, allocations: 73.91 kB / 258.5 MB, free: 2.336 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.007237, allocations: 183.5 kB / 258.7 MB, free: 2.156 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.00736, allocations: 79.77 kB / 258.8 MB, free: 2.078 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.316e-05/0.007394, allocations: 24 kB / 258.8 MB, free: 2.055 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.476e-05/0.007418, allocations: 20 kB / 258.8 MB, free: 2.035 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.524e-05/0.007454, allocations: 43.81 kB / 258.8 MB, free: 1.992 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.573e-05/0.007509, allocations: 67.88 kB / 258.9 MB, free: 1.926 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.007721, allocations: 159.4 kB / 259.1 MB, free: 1.77 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.288e-05/0.007734, allocations: 0 / 259.1 MB, free: 1.77 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.007736, allocations: 3.938 kB / 259.1 MB, free: 1.766 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.007745, allocations: 0 / 259.1 MB, free: 1.766 MB / 250.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.0005831/0.008328, allocations: 492 kB / 259.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.00836, allocations: 8.625 kB / 259.6 MB, free: 1.254 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.322e-05/0.008414, allocations: 36.89 kB / 259.6 MB, free: 1.219 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.008597, allocations: 161.9 kB / 259.8 MB, free: 1.035 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.00862, allocations: 12.88 kB / 259.8 MB, free: 1.023 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.281e-05/0.008653, allocations: 24.38 kB / 259.8 MB, free: 1 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002467/0.0089, allocations: 225.7 kB / 260 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.00891, allocations: 11.94 kB / 260 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.008924, allocations: 8 kB / 260 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.008933, allocations: 8 kB / 260 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.176e-05/0.009015, allocations: 63.39 kB / 260.1 MB, free: 0.668 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000654/0.009669, allocations: 0.6031 MB / 260.7 MB, free: 28 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.00981, allocations: 78.47 kB / 260.8 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.059e-05/0.009841, allocations: 24.84 kB / 260.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.009855, allocations: 4 kB / 260.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.009878, allocations: 38.5 kB / 260.8 MB, free: 15.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 4.909e-06/0.009883, allocations: 0 / 260.8 MB, free: 15.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006293/0.01051, allocations: 348.6 kB / 261.2 MB, free: 15.49 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.01054, allocations: 51.41 kB / 261.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.635e-05/0.01063, allocations: 167.2 kB / 261.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.01065, allocations: 29.7 kB / 261.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.294e-05/0.01071, allocations: 160.1 kB / 261.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/0.01074, allocations: 59.52 kB / 261.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.01079, allocations: 41.69 kB / 261.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.519e-05/0.01087, allocations: 322.8 kB / 262 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.674e-05/0.0109, allocations: 19.94 kB / 262 MB, free: 14.6 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.161e-05/0.01095, allocations: 65.97 kB / 262.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.25e-05/0.01104, allocations: 116.5 kB / 262.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.01105, allocations: 0 / 262.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000135/0.01118, allocations: 129.3 kB / 262.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.01119, allocations: 8.188 kB / 262.3 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.0112, allocations: 0 / 262.3 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.01121, allocations: 4 kB / 262.3 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.01141, allocations: 76.08 kB / 262.4 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.01141, allocations: 0 / 262.4 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.571e-05/0.01146, allocations: 4 kB / 262.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.01147, allocations: 8 kB / 262.4 MB, free: 14.16 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 7.508e-05/0.01154, allocations: 125.7 kB / 262.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.01157, allocations: 20 kB / 262.6 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.398e-05/0.0116, allocations: 17.45 kB / 262.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.01161, allocations: 4 kB / 262.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.01161, allocations: 0 / 262.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01161, allocations: 0 / 262.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.01177, allocations: 129.8 kB / 262.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01177, allocations: 0 / 262.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.0119, allocations: 55.16 kB / 262.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.569e-05/0.01194, allocations: 15.89 kB / 262.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.01194, allocations: 4 kB / 262.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.01194, allocations: 4 kB / 262.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01195, allocations: 0 / 262.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01195, allocations: 0 / 262.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.01212, allocations: 215 kB / 263 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.01214, allocations: 0 / 263 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.595e-05/0.01219, allocations: 15.98 kB / 263 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.914e-05/0.01222, allocations: 3.984 kB / 263 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.01223, allocations: 4 kB / 263 MB, free: 13.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.541e-05/0.01226, allocations: 41.52 kB / 263.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.01226, allocations: 4.031 kB / 263.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001582/0.01242, allocations: 40 kB / 263.1 MB, free: 13.44 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 8.308e-05/0.0125, allocations: 76.36 kB / 263.2 MB, free: 13.35 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001138/0.01262, allocations: 76.77 kB / 263.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.238e-06/0.01263, allocations: 7.984 kB / 263.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.896e-05/0.01268, allocations: 56.64 kB / 263.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.01291, allocations: 258.1 kB / 263.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.0145, allocations: 448.4 kB / 264 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.164e-05/0.01455, allocations: 79.98 kB / 264.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.743e-05/0.0146, allocations: 21.47 kB / 264.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.854e-05/0.01469, allocations: 75.36 kB / 264.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01469, allocations: 0 / 264.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of Templates: time 0.003735/0.01843, allocations: 1.536 MB / 265.7 MB, free: 10.76 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 -lv LOG_STATS > HanserModelica_HanserModelica.Magnetic.Coupling.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7650598268955946]