Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.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.001578/0.001578, allocations: 84.72 kB / 19.44 MB, free: 352 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 1.547/1.547, allocations: 177.1 MB / 199.7 MB, free: 4.793 MB / 186.7 MB " [Timeout remaining time 178] 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.001745/0.001745, allocations: 165.9 kB / 256.3 MB, free: 336 kB / 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.04294/0.04294, allocations: 6.654 MB / 319.4 MB, free: 1.359 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.InductionMachines.IMS_Characteristics1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1") translateModel(HanserModelica.InductionMachines.IMS_Characteristics1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 0 / 390.9 MB, free: 58.65 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.46e-05/2.692e-05, allocations: 2.312 kB / 390.9 MB, free: 58.65 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.01959/0.01962, allocations: 23.3 MB / 414.2 MB, free: 35.26 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01841/0.03803, allocations: 7.888 MB / 422.1 MB, free: 27.35 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00633/0.04436, allocations: 238.8 kB / 422.3 MB, free: 27.11 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01888/0.06324, allocations: 9.196 MB / 431.5 MB, free: 17.88 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0115/0.07475, allocations: 3.446 MB / 435 MB, free: 14.41 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006306/0.08105, allocations: 1.821 MB / 436.8 MB, free: 12.59 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01547/0.09652, allocations: 12.77 MB / 449.6 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2304/0.3269, allocations: 15.87 MB / 465.4 MB, free: 25.63 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02566/0.3525, allocations: 9.721 MB / 475.2 MB, free: 25.63 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01528/0.3678, allocations: 6.275 MB / 481.4 MB, free: 25.63 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.007838/0.3756, allocations: 1.836 MB / 483.3 MB, free: 25.63 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009685/0.3853, allocations: 2.234 MB / 485.5 MB, free: 25.63 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007513/0.3928, allocations: 3.672 MB / 489.2 MB, free: 25.63 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01542/0.4083, allocations: 4.633 MB / 493.8 MB, free: 23.95 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03402/0.4423, allocations: 25.12 MB / 0.5068 GB, free: 7.012 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.467e-06/0.4423, allocations: 1.75 kB / 0.5068 GB, free: 7.012 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.806e-06/0.4423, allocations: 0 / 0.5068 GB, free: 7.012 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0009114/0.4432, allocations: 0 / 0.5068 GB, free: 7.012 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.05487/0.4981, allocations: 14.56 MB / 0.521 GB, free: 8.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.92e-05/0.4981, allocations: 11.98 kB / 0.521 GB, free: 8.508 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05633/0.5545, allocations: 10.36 MB / 0.5311 GB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02388/0.5784, allocations: 8.136 MB / 0.5391 GB, free: 6.359 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00145/0.5798, allocations: 0.7993 MB / 0.5398 GB, free: 5.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005966/0.5858, allocations: 1.069 MB / 0.5409 GB, free: 4.516 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06361/0.6494, allocations: 18.55 MB / 0.559 GB, free: 1.902 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006944/0.6501, allocations: 15.95 kB / 0.559 GB, free: 1.887 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005023/0.6551, allocations: 451.2 kB / 0.5594 GB, free: 1.461 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001134/0.6562, allocations: 0.6641 MB / 0.5601 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04927/0.7055, allocations: 17.49 MB / 0.5772 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4753/1.181, allocations: 51.71 MB / 0.6277 GB, free: 112.9 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02349/1.204, allocations: 12.72 MB / 0.6401 GB, free: 111.9 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007463/1.212, allocations: 3.745 MB / 0.6437 GB, free: 110.5 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000791/1.213, allocations: 160.2 kB / 0.6439 GB, free: 110.5 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001169/1.213, allocations: 85.5 kB / 0.644 GB, free: 110.4 MB / 426.8 MB Notification: Performance of pre-optimization done (n=518): time 8.796e-06/1.213, allocations: 0 / 0.644 GB, free: 110.4 MB / 426.8 MB Notification: Performance of matching and sorting (n=524): time 0.05725/1.27, allocations: 21.47 MB / 0.6649 GB, free: 101 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.077e-05/1.27, allocations: 106.8 kB / 0.665 GB, free: 101 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008108/1.278, allocations: 4.001 MB / 0.669 GB, free: 98.51 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001666/1.28, allocations: 109.7 kB / 0.6691 GB, free: 98.39 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005485/1.285, allocations: 4.678 MB / 0.6736 GB, free: 94.33 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002839/1.288, allocations: 1.84 MB / 0.6754 GB, free: 92.52 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005569/1.294, allocations: 1.355 MB / 0.6767 GB, free: 91.15 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 6.765e-05/1.294, allocations: 301.1 kB / 0.677 GB, free: 90.86 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006854/1.301, allocations: 3.438 MB / 0.6804 GB, free: 87.41 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009019/1.31, allocations: 5.898 MB / 0.6862 GB, free: 80.41 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01408/1.324, allocations: 10.02 MB / 0.6959 GB, free: 69.23 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001531/1.324, allocations: 20 kB / 0.696 GB, free: 69.21 MB / 426.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02425/1.348, allocations: 11.22 MB / 0.7069 GB, free: 57.9 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001186/1.348, allocations: 43.94 kB / 0.7069 GB, free: 57.86 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001648/1.348, allocations: 76.38 kB / 0.707 GB, free: 57.79 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005039/1.353, allocations: 1.622 MB / 0.7086 GB, free: 56.16 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006703/1.36, allocations: 1.615 MB / 0.7102 GB, free: 54.54 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01597/1.376, allocations: 11 MB / 0.7209 GB, free: 43.45 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00654/1.383, allocations: 395.5 kB / 0.7213 GB, free: 43.07 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001912/1.385, allocations: 339.9 kB / 0.7216 GB, free: 42.73 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (840): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,40.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01093/1.396, allocations: 4.169 MB / 0.7257 GB, free: 38.55 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003422/1.399, allocations: 0.6337 MB / 0.7263 GB, free: 37.91 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01936/1.418, allocations: 8.387 MB / 0.7345 GB, free: 29.43 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01374/1.432, allocations: 7.022 MB / 0.7414 GB, free: 22.31 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.638e-05/1.432, allocations: 15.98 kB / 0.7414 GB, free: 22.29 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001041/1.432, allocations: 23.91 kB / 0.7414 GB, free: 22.27 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0396/1.472, allocations: 16.16 MB / 0.7572 GB, free: 6.086 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.59e-05/1.472, allocations: 0 / 0.7572 GB, free: 6.086 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004498/1.476, allocations: 0.9481 MB / 0.7581 GB, free: 5.137 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0046/1.481, allocations: 1.444 MB / 0.7595 GB, free: 3.688 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001183/1.482, allocations: 120 kB / 0.7596 GB, free: 3.57 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01756/1.5, allocations: 9.7 MB / 0.7691 GB, free: 9.777 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.958e-06/1.5, allocations: 8 kB / 0.7691 GB, free: 9.77 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2765/1.776, allocations: 12.39 MB / 0.7812 GB, free: 138.6 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0051/1.781, allocations: 1.093 MB / 0.7823 GB, free: 138.6 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002289/1.784, allocations: 93.72 kB / 0.7824 GB, free: 138.6 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004704/1.788, allocations: 270.2 kB / 0.7826 GB, free: 138.6 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001711/1.79, allocations: 376.2 kB / 0.783 GB, free: 138.6 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006369/1.791, allocations: 152.4 kB / 0.7831 GB, free: 138.6 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.006805/1.797, allocations: 2.587 MB / 0.7856 GB, free: 138.3 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.71e-07/1.797, allocations: 0 / 0.7856 GB, free: 138.3 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01207/1.81, allocations: 1.92 MB / 0.7875 GB, free: 138.1 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (ims.rotor.stray.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (499): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001859/1.811, allocations: 303.2 kB / 0.7878 GB, free: 138 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01619/1.828, allocations: 8.351 MB / 0.796 GB, free: 134.8 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/1.828, allocations: 5.656 kB / 0.796 GB, free: 134.8 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008146/1.836, allocations: 3.87 MB / 0.7997 GB, free: 133.3 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007379/1.843, allocations: 1.052 MB / 0.8008 GB, free: 132.9 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03878/1.882, allocations: 19.68 MB / 0.82 GB, free: 122.7 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01244/1.894, allocations: 6.58 MB / 0.8264 GB, free: 117.8 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.006555/1.901, allocations: 2.289 MB / 0.8287 GB, free: 116.2 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001691/1.903, allocations: 438.7 kB / 0.8291 GB, free: 115.8 MB / 442.8 MB Notification: Performance of SimCode: time 2.355e-06/1.903, allocations: 0 / 0.8291 GB, free: 115.8 MB / 442.8 MB Notification: Performance of Templates: time 0.1123/2.015, allocations: 71.73 MB / 0.8991 GB, free: 46.52 MB / 442.8 MB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.sim & ./HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.682396896998398]