Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.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.001439/0.001439, allocations: 85.14 kB / 19.87 MB, free: 4.625 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.128/1.128, allocations: 177.1 MB / 200.3 MB, free: 5.359 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.001858/0.001858, allocations: 163.5 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.02411/0.02411, allocations: 6.648 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.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_withLosses") translateModel(HanserModelica.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 392.1 MB, free: 3.332 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.447e-05, allocations: 2.312 kB / 392.1 MB, free: 3.328 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_withLosses): time 0.01951/0.01953, allocations: 23.42 MB / 415.5 MB, free: 11.81 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03038/0.04991, allocations: 8.088 MB / 423.6 MB, free: 3.695 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01854/0.06845, allocations: 210.9 kB / 423.8 MB, free: 3.488 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.03278/0.1012, allocations: 8.683 MB / 432.5 MB, free: 10.77 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009786/0.111, allocations: 3.146 MB / 435.6 MB, free: 7.602 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004436/0.1154, allocations: 1.825 MB / 437.5 MB, free: 5.777 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1762/0.2916, allocations: 11.7 MB / 449.2 MB, free: 118.1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02449/0.3161, allocations: 14.53 MB / 463.7 MB, free: 114.6 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01531/0.3314, allocations: 9.053 MB / 472.8 MB, free: 110.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009045/0.3405, allocations: 6.412 MB / 479.2 MB, free: 108.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004122/0.3446, allocations: 1.714 MB / 480.9 MB, free: 108.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005729/0.3503, allocations: 2.16 MB / 483 MB, free: 106.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003187/0.3535, allocations: 3.516 MB / 486.6 MB, free: 103.4 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008954/0.3625, allocations: 4.271 MB / 490.8 MB, free: 99.67 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01743/0.3799, allocations: 10.88 MB / 0.4899 GB, free: 90.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3799, allocations: 0 / 0.4899 GB, free: 90.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3799, allocations: 2.125 kB / 0.4899 GB, free: 90.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005874/0.3805, allocations: 4 kB / 0.49 GB, free: 90.13 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.02442/0.4049, allocations: 13.4 MB / 0.503 GB, free: 77.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.405, allocations: 8.031 kB / 0.503 GB, free: 77.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01778/0.4228, allocations: 6.107 MB / 0.509 GB, free: 71.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009864/0.4326, allocations: 6.564 MB / 0.5154 GB, free: 64.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005059/0.4331, allocations: 0.7158 MB / 0.5161 GB, free: 64.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003006/0.4361, allocations: 0.9515 MB / 0.517 GB, free: 63.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02235/0.4585, allocations: 7.785 MB / 0.5246 GB, free: 55.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002812/0.4588, allocations: 19.64 kB / 0.5247 GB, free: 55.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002011/0.4608, allocations: 396.9 kB / 0.525 GB, free: 55.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003563/0.4611, allocations: 0.5591 MB / 0.5256 GB, free: 54.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01299/0.4741, allocations: 3.688 MB / 0.5292 GB, free: 51.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06582/0.5399, allocations: 41.27 MB / 0.5695 GB, free: 11.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006108/0.546, allocations: 5.717 MB / 0.5751 GB, free: 6.215 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001667/0.5477, allocations: 1.317 MB / 0.5764 GB, free: 4.934 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002814/0.548, allocations: 179.3 kB / 0.5765 GB, free: 4.758 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.728e-05/0.548, allocations: 80.89 kB / 0.5766 GB, free: 4.668 MB / 410.7 MB Notification: Performance of pre-optimization done (n=447): time 6.151e-06/0.548, allocations: 0 / 0.5766 GB, free: 4.668 MB / 410.7 MB Notification: Performance of matching and sorting (n=452): time 0.3145/0.8625, allocations: 10.81 MB / 0.5872 GB, free: 87.08 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.8626, allocations: 96.95 kB / 0.5873 GB, free: 87.01 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00412/0.8667, allocations: 3.78 MB / 0.5909 GB, free: 86.56 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008354/0.8675, allocations: 99.61 kB / 0.591 GB, free: 86.53 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002946/0.8705, allocations: 4.635 MB / 0.5956 GB, free: 84.76 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0019/0.8724, allocations: 1.665 MB / 0.5972 GB, free: 83.84 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001357/0.8737, allocations: 1.354 MB / 0.5985 GB, free: 83.73 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.522e-05/0.8738, allocations: 484.8 kB / 0.599 GB, free: 83.25 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009557/0.8747, allocations: 0.7438 MB / 0.5997 GB, free: 83.24 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001895/0.8766, allocations: 4.001 MB / 0.6036 GB, free: 79.44 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004057/0.8807, allocations: 5.378 MB / 0.6089 GB, free: 75.68 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.421e-05/0.8808, allocations: 22.72 kB / 0.6089 GB, free: 75.68 MB / 410.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.009189/0.8899, allocations: 5.185 MB / 0.614 GB, free: 75.23 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.371e-05/0.89, allocations: 34.44 kB / 0.614 GB, free: 75.23 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001194/0.8901, allocations: 75 kB / 0.6141 GB, free: 75.22 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002778/0.8929, allocations: 1.239 MB / 0.6153 GB, free: 75.14 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00343/0.8963, allocations: 1.275 MB / 0.6165 GB, free: 75.14 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007765/0.9041, allocations: 8.376 MB / 0.6247 GB, free: 71.01 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004163/0.9083, allocations: 228.2 kB / 0.6249 GB, free: 70.99 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009603/0.9092, allocations: 250.3 kB / 0.6251 GB, free: 70.99 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (720): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003071/0.9123, allocations: 0.5448 MB / 0.6257 GB, free: 70.79 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001166/0.9135, allocations: 0.6021 MB / 0.6263 GB, free: 70.53 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00676/0.9202, allocations: 5.147 MB / 0.6313 GB, free: 70.09 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003746/0.924, allocations: 2.593 MB / 0.6338 GB, free: 69.89 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.777e-05/0.924, allocations: 12.44 kB / 0.6338 GB, free: 69.89 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.371e-05/0.924, allocations: 26.44 kB / 0.6339 GB, free: 69.88 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01923/0.9433, allocations: 11.58 MB / 0.6452 GB, free: 67.28 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/0.9433, allocations: 8 kB / 0.6452 GB, free: 67.27 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001589/0.9449, allocations: 0.703 MB / 0.6459 GB, free: 66.7 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002401/0.9473, allocations: 1.118 MB / 0.647 GB, free: 65.88 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003844/0.9476, allocations: 109.4 kB / 0.6471 GB, free: 65.78 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006331/0.954, allocations: 7.93 MB / 0.6548 GB, free: 58.41 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.954, allocations: 11.66 kB / 0.6548 GB, free: 58.4 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007025/0.961, allocations: 4.801 MB / 0.6595 GB, free: 54.18 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001894/0.9629, allocations: 0.8677 MB / 0.6603 GB, free: 53.43 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005352/0.9634, allocations: 94.2 kB / 0.6604 GB, free: 53.34 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.9645, allocations: 116.5 kB / 0.6605 GB, free: 53.23 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005538/0.9651, allocations: 347.9 kB / 0.6609 GB, free: 53.06 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001689/0.9652, allocations: 111.1 kB / 0.661 GB, free: 52.96 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.001732/0.967, allocations: 1.688 MB / 0.6626 GB, free: 51.74 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.967, allocations: 0 / 0.6626 GB, free: 51.74 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.005342/0.9723, allocations: 1.711 MB / 0.6643 GB, free: 50.03 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imc.inertiaRotor.w,imc.rotorCage.port_p.reference.gamma,loadInertia.phi,PI.x) * 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 (417): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,43.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001284/0.9736, allocations: 0.5137 MB / 0.6648 GB, free: 49.74 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.00605/0.9796, allocations: 4.225 MB / 0.6689 GB, free: 45.79 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.396e-05/0.9797, allocations: 4 kB / 0.6689 GB, free: 45.79 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00293/0.9826, allocations: 2.328 MB / 0.6712 GB, free: 43.57 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003685/0.9863, allocations: 0.9773 MB / 0.6722 GB, free: 42.67 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02266/1.009, allocations: 14.87 MB / 0.6867 GB, free: 27.7 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002881/1.012, allocations: 2.75 MB / 0.6894 GB, free: 24.93 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.002613/1.014, allocations: 0.7248 MB / 0.6901 GB, free: 24.2 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00171/1.016, allocations: 1.041 MB / 0.6911 GB, free: 23.16 MB / 410.8 MB Notification: Performance of SimCode: time 1.954e-06/1.016, allocations: 0 / 0.6911 GB, free: 23.16 MB / 410.8 MB Notification: Performance of Templates: time 0.2404/1.257, allocations: 71.1 MB / 0.7605 GB, free: 116.4 MB / 442.8 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.491590148769319]