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.0008488/0.0008488, allocations: 82.05 kB / 19.87 MB, free: 4.621 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 1.025/1.025, allocations: 177.2 MB / 200.3 MB, free: 5.332 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.001276/0.001276, allocations: 156.6 kB / 256.9 MB, free: 12.8 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.02503/0.02503, allocations: 6.664 MB / 320.1 MB, free: 11.44 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 3.146e-06/3.146e-06, allocations: 0 / 392.1 MB, free: 3.367 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.859e-05/3.174e-05, allocations: 2.312 kB / 392.1 MB, free: 3.363 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.Coupling): time 0.004249/0.004281, allocations: 2.553 MB / 394.6 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.005394, allocations: 0.6116 MB / 395.2 MB, free: 184 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.005506, allocations: 7.938 kB / 395.3 MB, free: 176 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.005609, allocations: 39.58 kB / 395.3 MB, free: 136 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.005725, allocations: 59.42 kB / 395.3 MB, free: 76 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.005923, allocations: 71.83 kB / 395.4 MB, free: 4 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000219/0.006142, allocations: 270.8 kB / 395.7 MB, free: 15.74 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.006275, allocations: 75.3 kB / 395.8 MB, free: 15.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.006421, allocations: 151.6 kB / 395.9 MB, free: 15.52 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.006529, allocations: 83.72 kB / 396 MB, free: 15.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.96e-05/0.006558, allocations: 24 kB / 396 MB, free: 15.41 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.623e-05/0.006585, allocations: 24 kB / 396 MB, free: 15.39 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.934e-05/0.006624, allocations: 55.8 kB / 396.1 MB, free: 15.33 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.157e-05/0.006685, allocations: 83.83 kB / 396.2 MB, free: 15.25 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.006879, allocations: 175.3 kB / 396.3 MB, free: 15.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.006882, allocations: 4 kB / 396.3 MB, free: 15.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.006883, allocations: 0 / 396.3 MB, free: 15.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.006886, allocations: 0 / 396.3 MB, free: 15.07 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.0005315/0.007418, allocations: 0.5508 MB / 396.9 MB, free: 14.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.007447, allocations: 8.031 kB / 396.9 MB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.991e-05/0.007497, allocations: 48.75 kB / 396.9 MB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.00773, allocations: 180.7 kB / 397.1 MB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.007757, allocations: 20.88 kB / 397.1 MB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.712e-05/0.007794, allocations: 24.38 kB / 397.2 MB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/0.008116, allocations: 227.4 kB / 397.4 MB, free: 13.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.008124, allocations: 3.938 kB / 397.4 MB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.008142, allocations: 8 kB / 397.4 MB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.008151, allocations: 7.984 kB / 397.4 MB, free: 13.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.008294, allocations: 75.38 kB / 397.5 MB, free: 13.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009927/0.009287, allocations: 0.7771 MB / 398.3 MB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.009462, allocations: 94.95 kB / 398.4 MB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.623e-05/0.009529, allocations: 31.66 kB / 398.4 MB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.009547, allocations: 7.938 kB / 398.4 MB, free: 12.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.009575, allocations: 37.39 kB / 398.4 MB, free: 12.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.009576, allocations: 0 / 398.4 MB, free: 12.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007609/0.01034, allocations: 345.5 kB / 398.8 MB, free: 12.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.01037, allocations: 55.41 kB / 398.8 MB, free: 12.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.01052, allocations: 222.4 kB / 399 MB, free: 12.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.01054, allocations: 33.7 kB / 399.1 MB, free: 12.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.01064, allocations: 214.8 kB / 399.3 MB, free: 11.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.01069, allocations: 51.52 kB / 399.3 MB, free: 11.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.787e-05/0.01075, allocations: 51.3 kB / 399.4 MB, free: 11.78 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.01091, allocations: 0.5001 MB / 399.9 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.801e-05/0.01096, allocations: 19.84 kB / 399.9 MB, free: 11.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.89e-05/0.01105, allocations: 89.77 kB / 400 MB, free: 11.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.01119, allocations: 121.7 kB / 400.1 MB, free: 10.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.01119, allocations: 0 / 400.1 MB, free: 10.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002156/0.01141, allocations: 149.2 kB / 400.3 MB, free: 10.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.01143, allocations: 11.11 kB / 400.3 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.01144, allocations: 8.188 kB / 400.3 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.01146, allocations: 0 / 400.3 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.01163, allocations: 47.92 kB / 400.3 MB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.01164, allocations: 7.984 kB / 400.3 MB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.59e-05/0.01172, allocations: 11.98 kB / 400.3 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.01173, allocations: 8 kB / 400.3 MB, free: 10.74 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 0.0001152/0.01185, allocations: 168.5 kB / 400.5 MB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.01189, allocations: 19.89 kB / 400.5 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.569e-05/0.01194, allocations: 17.47 kB / 400.5 MB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.01194, allocations: 4 kB / 400.6 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.01194, allocations: 0 / 400.6 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.01195, allocations: 3.984 kB / 400.6 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.01217, allocations: 153.2 kB / 400.7 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.01217, allocations: 0 / 400.7 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.01231, allocations: 35.97 kB / 400.7 MB, free: 10.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.01231, allocations: 3.938 kB / 400.7 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.01232, allocations: 4 kB / 400.7 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-05/0.01233, allocations: 4 kB / 400.8 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.01234, allocations: 3.938 kB / 400.8 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.01262, allocations: 275.7 kB / 401 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.217e-05/0.01267, allocations: 23.88 kB / 401 MB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.0127, allocations: 15.88 kB / 401.1 MB, free: 9.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.0128, allocations: 4 kB / 401.1 MB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.01284, allocations: 15.97 kB / 401.1 MB, free: 9.945 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.01284, allocations: 0 / 401.1 MB, free: 9.945 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.6e-05/0.01293, allocations: 151.8 kB / 401.2 MB, free: 9.797 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01293, allocations: 0 / 401.2 MB, free: 9.797 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003312/0.01326, allocations: 40 kB / 401.3 MB, free: 9.758 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 0.0001412/0.0134, allocations: 103.2 kB / 401.4 MB, free: 9.645 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002035/0.01361, allocations: 83.52 kB / 401.5 MB, free: 9.559 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.01361, allocations: 0 / 401.5 MB, free: 9.559 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.233e-05/0.01368, allocations: 51.09 kB / 401.5 MB, free: 9.508 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.01399, allocations: 20 kB / 401.5 MB, free: 9.488 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.01519, allocations: 425.9 kB / 401.9 MB, free: 9.047 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.775e-05/0.01528, allocations: 79.69 kB / 402 MB, free: 8.945 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.464e-05/0.01536, allocations: 25.45 kB / 402 MB, free: 8.922 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.01549, allocations: 94.19 kB / 402.1 MB, free: 8.828 MB / 378.7 MB Notification: Performance of SimCode: time 1.193e-06/0.01549, allocations: 0 / 402.1 MB, free: 8.828 MB / 378.7 MB Notification: Performance of Templates: time 0.004721/0.02021, allocations: 1.408 MB / 403.5 MB, free: 7.445 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: 2.93285343516618]