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.001073/0.001073, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.036/1.036, allocations: 177.2 MB / 200.5 MB, free: 5.531 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.001267/0.001267, allocations: 156.6 kB / 257 MB, free: 13.04 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.02769/0.02769, allocations: 6.661 MB / 320.1 MB, free: 26.59 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.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.484e-06/2.484e-06, allocations: 0 / 391.7 MB, free: 2.957 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.096e-05/3.344e-05, allocations: 6.25 kB / 391.7 MB, free: 2.949 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.165/0.165, allocations: 25.96 MB / 417.6 MB, free: 69.02 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01596/0.181, allocations: 8.069 MB / 425.7 MB, free: 66.81 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004679/0.1856, allocations: 236.5 kB / 425.9 MB, free: 66.74 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01029/0.1959, allocations: 9.857 MB / 435.8 MB, free: 60.66 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008128/0.2041, allocations: 3.461 MB / 439.2 MB, free: 57.93 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003147/0.2072, allocations: 1.832 MB / 441.1 MB, free: 56.52 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009495/0.2167, allocations: 12.79 MB / 453.9 MB, free: 45.27 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01706/0.2338, allocations: 15.9 MB / 469.8 MB, free: 29.19 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01094/0.2447, allocations: 9.813 MB / 479.6 MB, free: 19.36 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007906/0.2526, allocations: 6.944 MB / 486.5 MB, free: 12.41 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003443/0.256, allocations: 1.832 MB / 488.3 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003321/0.2594, allocations: 2.23 MB / 490.6 MB, free: 8.344 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001738/0.2611, allocations: 3.737 MB / 494.3 MB, free: 4.598 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006419/0.2675, allocations: 4.694 MB / 499 MB, free: 15.89 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01304/0.2806, allocations: 11.79 MB / 0.4988 GB, free: 4.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2806, allocations: 0 / 0.4988 GB, free: 4.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.2806, allocations: 0 / 0.4988 GB, free: 4.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005379/0.2811, allocations: 4 kB / 0.4988 GB, free: 4.066 MB / 346.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.02566/0.3068, allocations: 15.56 MB / 0.514 GB, free: 4.395 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.3068, allocations: 8.031 kB / 0.514 GB, free: 4.387 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02883/0.3356, allocations: 10.36 MB / 0.5242 GB, free: 10 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01222/0.3479, allocations: 7.406 MB / 0.5314 GB, free: 2.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005583/0.3484, allocations: 0.8067 MB / 0.5322 GB, free: 1.691 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002533/0.3509, allocations: 1.062 MB / 0.5332 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01901/0.37, allocations: 9.714 MB / 0.5427 GB, free: 6.797 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001774/0.3701, allocations: 19.94 kB / 0.5427 GB, free: 6.777 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008573/0.371, allocations: 451.9 kB / 0.5432 GB, free: 6.336 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005363/0.3715, allocations: 0.6633 MB / 0.5438 GB, free: 5.672 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01281/0.3843, allocations: 5.629 MB / 0.5493 GB, free: 36 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3363/0.7206, allocations: 46.18 MB / 0.5944 GB, free: 68.52 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01061/0.7312, allocations: 11.11 MB / 0.6052 GB, free: 64.04 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002181/0.7334, allocations: 1.727 MB / 0.6069 GB, free: 62.3 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000254/0.7337, allocations: 156 kB / 0.6071 GB, free: 62.15 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.249e-05/0.7337, allocations: 97.44 kB / 0.6072 GB, free: 62.04 MB / 394.8 MB Notification: Performance of pre-optimization done (n=518): time 6.632e-06/0.7337, allocations: 0 / 0.6072 GB, free: 62.04 MB / 394.8 MB Notification: Performance of matching and sorting (n=524): time 0.02151/0.7552, allocations: 12.66 MB / 0.6195 GB, free: 49.68 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.7553, allocations: 111.5 kB / 0.6196 GB, free: 49.56 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003418/0.7587, allocations: 3.71 MB / 0.6233 GB, free: 45.96 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001968/0.7589, allocations: 105.7 kB / 0.6234 GB, free: 45.86 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001511/0.7604, allocations: 4.944 MB / 0.6282 GB, free: 41.28 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007691/0.7612, allocations: 1.9 MB / 0.63 GB, free: 39.41 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001214/0.7624, allocations: 1.511 MB / 0.6315 GB, free: 37.89 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 3.757e-05/0.7624, allocations: 476.8 kB / 0.632 GB, free: 37.42 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/0.7641, allocations: 1.091 MB / 0.633 GB, free: 36.32 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002938/0.767, allocations: 4.744 MB / 0.6377 GB, free: 30.11 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005521/0.7726, allocations: 6.48 MB / 0.644 GB, free: 22.38 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.078e-05/0.7726, allocations: 24 kB / 0.644 GB, free: 22.36 MB / 394.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.008009/0.7806, allocations: 6.338 MB / 0.6502 GB, free: 16.46 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.863e-05/0.7806, allocations: 36 kB / 0.6502 GB, free: 16.43 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.337e-05/0.7807, allocations: 80 kB / 0.6503 GB, free: 16.35 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002339/0.783, allocations: 1.286 MB / 0.6516 GB, free: 15.06 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002827/0.7859, allocations: 1.621 MB / 0.6532 GB, free: 13.55 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007558/0.7934, allocations: 6.756 MB / 0.6598 GB, free: 6.727 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002825/0.7962, allocations: 403.5 kB / 0.6601 GB, free: 6.332 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003334/0.7966, allocations: 336 kB / 0.6605 GB, free: 6.004 MB / 394.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.002397/0.799, allocations: 0.6078 MB / 0.6611 GB, free: 5.492 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007448/0.7997, allocations: 0.6259 MB / 0.6617 GB, free: 4.863 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006228/0.806, allocations: 4.633 MB / 0.6662 GB, free: 172 kB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005177/0.8111, allocations: 3.378 MB / 0.6695 GB, free: 12.74 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.947e-05/0.8111, allocations: 12 kB / 0.6695 GB, free: 12.73 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.525e-05/0.8112, allocations: 23.91 kB / 0.6695 GB, free: 12.71 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02003/0.8312, allocations: 13.18 MB / 0.6824 GB, free: 15.6 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.8312, allocations: 4 kB / 0.6824 GB, free: 15.6 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00198/0.8332, allocations: 0.9374 MB / 0.6833 GB, free: 14.71 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002333/0.8355, allocations: 1.156 MB / 0.6844 GB, free: 13.55 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002738/0.8358, allocations: 112 kB / 0.6846 GB, free: 13.44 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007159/0.843, allocations: 6.175 MB / 0.6906 GB, free: 7.172 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.843, allocations: 4 kB / 0.6906 GB, free: 7.168 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008974/0.8519, allocations: 5.683 MB / 0.6961 GB, free: 1.32 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002248/0.8542, allocations: 0.9925 MB / 0.6971 GB, free: 332 kB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004136/0.8546, allocations: 95.98 kB / 0.6972 GB, free: 236 kB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/0.8558, allocations: 263.8 kB / 0.6975 GB, free: 15.97 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005344/0.8563, allocations: 376.2 kB / 0.6978 GB, free: 15.6 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002172/0.8565, allocations: 152.8 kB / 0.698 GB, free: 15.45 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.002279/0.8588, allocations: 1.693 MB / 0.6996 GB, free: 13.78 MB / 442.8 MB Notification: Performance of sort global known variables: time 4.1e-08/0.8588, allocations: 0 / 0.6996 GB, free: 13.78 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.005043/0.8639, allocations: 1.917 MB / 0.7015 GB, free: 11.86 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.0005611/0.8644, allocations: 304.6 kB / 0.7018 GB, free: 11.61 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.007605/0.872, allocations: 4.912 MB / 0.7066 GB, free: 6.879 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.872, allocations: 0 / 0.7066 GB, free: 6.879 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003253/0.8753, allocations: 2.559 MB / 0.7091 GB, free: 4.371 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002931/0.8782, allocations: 1.04 MB / 0.7101 GB, free: 3.371 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1552/1.033, allocations: 16.02 MB / 0.7257 GB, free: 156 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002718/1.036, allocations: 2.983 MB / 0.7286 GB, free: 155.7 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.003694/1.04, allocations: 1.934 MB / 0.7305 GB, free: 155.6 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008795/1.041, allocations: 435.2 kB / 0.731 GB, free: 155.6 MB / 442.8 MB Notification: Performance of SimCode: time 1.963e-06/1.041, allocations: 0 / 0.731 GB, free: 155.6 MB / 442.8 MB Notification: Performance of Templates: time 0.07613/1.117, allocations: 71.64 MB / 0.8009 GB, free: 94.64 MB / 442.8 MB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.471549086039886]