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.001071/0.001071, allocations: 92.22 kB / 19.65 MB, free: 276 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.985/0.985, allocations: 177.2 MB / 200 MB, free: 5.547 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.001263/0.001263, allocations: 160.4 kB / 256.6 MB, free: 13.01 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.02269/0.02269, allocations: 6.664 MB / 319.8 MB, free: 26.53 MB / 266.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.453e-06/1.453e-06, allocations: 0 / 391.6 MB, free: 2.613 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/2.916e-05, allocations: 6.312 kB / 391.6 MB, free: 2.605 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.Coupling): time 0.006004/0.006033, allocations: 2.569 MB / 394.2 MB, free: 16 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.007367, allocations: 0.6154 MB / 394.8 MB, free: 15.39 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.007499, allocations: 4 kB / 394.8 MB, free: 15.39 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.007634, allocations: 39.58 kB / 394.8 MB, free: 15.35 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001477/0.007781, allocations: 67.42 kB / 394.9 MB, free: 15.29 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.008112, allocations: 67.78 kB / 395 MB, free: 15.22 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003495/0.008461, allocations: 274.6 kB / 395.2 MB, free: 14.95 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.008643, allocations: 71.3 kB / 395.3 MB, free: 14.88 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.008852, allocations: 151.7 kB / 395.5 MB, free: 14.73 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.009011, allocations: 83.77 kB / 395.5 MB, free: 14.65 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.518e-05/0.009046, allocations: 23.94 kB / 395.6 MB, free: 14.63 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.045e-05/0.009077, allocations: 28 kB / 395.6 MB, free: 14.6 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.417e-05/0.009121, allocations: 55.81 kB / 395.7 MB, free: 14.55 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.689e-05/0.009198, allocations: 79.83 kB / 395.7 MB, free: 14.47 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.00946, allocations: 183.2 kB / 395.9 MB, free: 14.29 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.009465, allocations: 4 kB / 395.9 MB, free: 14.29 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.009468, allocations: 0 / 395.9 MB, free: 14.29 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.009474, allocations: 0 / 395.9 MB, free: 14.29 MB / 330.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.000689/0.01016, allocations: 0.5469 MB / 396.5 MB, free: 13.7 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.01021, allocations: 16.03 kB / 396.5 MB, free: 13.69 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.561e-05/0.01029, allocations: 40.8 kB / 396.5 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.01052, allocations: 180.8 kB / 396.7 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.01055, allocations: 16.88 kB / 396.7 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.01058, allocations: 24.38 kB / 396.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003386/0.01092, allocations: 239.3 kB / 397 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.01093, allocations: 3.938 kB / 397 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.01095, allocations: 12 kB / 397 MB, free: 13.13 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.01096, allocations: 4 kB / 397 MB, free: 13.13 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.0111, allocations: 90.94 kB / 397.1 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009605/0.01206, allocations: 0.8116 MB / 397.9 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.01226, allocations: 110.8 kB / 398 MB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.56e-05/0.01231, allocations: 35.67 kB / 398 MB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.01233, allocations: 8 kB / 398 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.01235, allocations: 33.39 kB / 398.1 MB, free: 11.96 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.01236, allocations: 0 / 398.1 MB, free: 11.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.00078/0.01314, allocations: 396.3 kB / 398.5 MB, free: 11.54 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.01316, allocations: 51.41 kB / 398.5 MB, free: 11.48 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.0133, allocations: 234.5 kB / 398.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.01332, allocations: 29.7 kB / 398.8 MB, free: 11.2 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.619e-05/0.01341, allocations: 210.9 kB / 399 MB, free: 10.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.01344, allocations: 55.53 kB / 399 MB, free: 10.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.373e-05/0.01349, allocations: 55.25 kB / 399.1 MB, free: 10.87 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.01361, allocations: 0.4962 MB / 399.6 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.457e-05/0.01366, allocations: 19.98 kB / 399.6 MB, free: 10.34 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.536e-05/0.01373, allocations: 105.6 kB / 399.7 MB, free: 10.21 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.01386, allocations: 136.2 kB / 399.8 MB, free: 10.05 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.01386, allocations: 4 kB / 399.8 MB, free: 10.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001756/0.01404, allocations: 153.4 kB / 400 MB, free: 9.887 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.01405, allocations: 4 kB / 400 MB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.01406, allocations: 7.984 kB / 400 MB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.01407, allocations: 0 / 400 MB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.01421, allocations: 47.92 kB / 400 MB, free: 9.828 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.01421, allocations: 192 / 400 MB, free: 9.828 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.037e-05/0.01426, allocations: 12 kB / 400.1 MB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.01427, allocations: 11.98 kB / 400.1 MB, free: 9.805 MB / 330.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.092e-05/0.01437, allocations: 172.5 kB / 400.2 MB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.01439, allocations: 11.95 kB / 400.2 MB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.815e-05/0.01443, allocations: 21.47 kB / 400.3 MB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.01443, allocations: 4 kB / 400.3 MB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.01444, allocations: 0 / 400.3 MB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.01444, allocations: 3.984 kB / 400.3 MB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.01463, allocations: 192.5 kB / 400.5 MB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01463, allocations: 0 / 400.5 MB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.01475, allocations: 39.98 kB / 400.5 MB, free: 9.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.01475, allocations: 0 / 400.5 MB, free: 9.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.01476, allocations: 0 / 400.5 MB, free: 9.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.01476, allocations: 0 / 400.5 MB, free: 9.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.01476, allocations: 0 / 400.5 MB, free: 9.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/0.01505, allocations: 295.6 kB / 400.8 MB, free: 9.012 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.127e-05/0.0151, allocations: 27.88 kB / 400.8 MB, free: 8.984 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.01512, allocations: 0 / 400.8 MB, free: 8.984 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.322e-05/0.01519, allocations: 8 kB / 400.8 MB, free: 8.977 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.01523, allocations: 12.02 kB / 400.8 MB, free: 8.965 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.01524, allocations: 4 kB / 400.8 MB, free: 8.961 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.772e-05/0.01533, allocations: 163.8 kB / 401 MB, free: 8.801 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01533, allocations: 0 / 401 MB, free: 8.801 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002026/0.01553, allocations: 47.94 kB / 401.1 MB, free: 8.754 MB / 330.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.0001022/0.01563, allocations: 91.25 kB / 401.1 MB, free: 8.656 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001974/0.01583, allocations: 103.4 kB / 401.2 MB, free: 8.551 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.01583, allocations: 384 / 401.2 MB, free: 8.551 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.383e-05/0.01589, allocations: 51.61 kB / 401.3 MB, free: 8.496 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.01612, allocations: 23.92 kB / 401.3 MB, free: 8.473 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009626/0.01708, allocations: 429.4 kB / 401.7 MB, free: 8.027 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.363e-05/0.01715, allocations: 75.83 kB / 401.8 MB, free: 7.934 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.519e-05/0.0172, allocations: 17.48 kB / 401.8 MB, free: 7.914 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.01725, allocations: 16.5 kB / 401.8 MB, free: 7.898 MB / 330.7 MB Notification: Performance of SimCode: time 1.433e-06/0.01725, allocations: 0 / 401.8 MB, free: 7.898 MB / 330.7 MB Notification: Performance of Templates: time 0.003552/0.0208, allocations: 1.359 MB / 403.2 MB, free: 6.562 MB / 330.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.020281139295548]