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.0009747/0.0009747, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.051/1.051, allocations: 177.1 MB / 200.3 MB, free: 5.703 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.001973/0.001973, allocations: 164.3 kB / 256.9 MB, free: 12.98 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.0232/0.0232, allocations: 6.66 MB / 320.1 MB, free: 26.35 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 1.763e-06/1.763e-06, allocations: 0 / 392.1 MB, free: 2.254 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.489e-05, allocations: 6.109 kB / 392.1 MB, free: 2.25 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.2256/0.2256, allocations: 25.38 MB / 417.5 MB, free: 69.55 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01802/0.2437, allocations: 8.026 MB / 425.5 MB, free: 67.01 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006913/0.2506, allocations: 237 kB / 425.7 MB, free: 66.94 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01332/0.2639, allocations: 9.666 MB / 435.4 MB, free: 60.8 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01094/0.2748, allocations: 3.445 MB / 438.8 MB, free: 58.07 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004737/0.2796, allocations: 1.833 MB / 440.7 MB, free: 56.65 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01406/0.2936, allocations: 12.78 MB / 453.5 MB, free: 45.34 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02004/0.3137, allocations: 15.9 MB / 469.3 MB, free: 29.26 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01485/0.3285, allocations: 9.821 MB / 479.2 MB, free: 19.43 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01002/0.3385, allocations: 7.147 MB / 486.3 MB, free: 12.27 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004107/0.3427, allocations: 1.836 MB / 488.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006244/0.3489, allocations: 2.229 MB / 490.4 MB, free: 8.199 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003231/0.3521, allocations: 3.733 MB / 494.1 MB, free: 4.457 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007741/0.3599, allocations: 4.69 MB / 498.8 MB, free: 15.75 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02081/0.3807, allocations: 11.79 MB / 0.4986 GB, free: 3.938 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.3807, allocations: 0 / 0.4986 GB, free: 3.938 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3807, allocations: 0 / 0.4986 GB, free: 3.938 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0006988/0.3814, allocations: 0 / 0.4986 GB, free: 3.938 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.02939/0.4108, allocations: 14.55 MB / 0.5128 GB, free: 5.281 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.4108, allocations: 16.03 kB / 0.5128 GB, free: 5.266 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02566/0.4365, allocations: 7.795 MB / 0.5205 GB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0125/0.449, allocations: 6.912 MB / 0.5272 GB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006953/0.4497, allocations: 0.8029 MB / 0.528 GB, free: 5.645 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004031/0.4537, allocations: 1.058 MB / 0.529 GB, free: 4.586 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02985/0.4836, allocations: 8.908 MB / 0.5377 GB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003791/0.4839, allocations: 15.91 kB / 0.5377 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002429/0.4864, allocations: 451.9 kB / 0.5382 GB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006644/0.487, allocations: 0.671 MB / 0.5388 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01778/0.5048, allocations: 4.396 MB / 0.5431 GB, free: 6.023 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.393/0.8979, allocations: 45.44 MB / 0.5875 GB, free: 74.41 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01045/0.9083, allocations: 9.333 MB / 0.5966 GB, free: 72.73 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00259/0.9109, allocations: 1.473 MB / 0.598 GB, free: 71.76 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003732/0.9113, allocations: 195.7 kB / 0.5982 GB, free: 71.57 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.003e-05/0.9113, allocations: 89.45 kB / 0.5983 GB, free: 71.47 MB / 394.8 MB Notification: Performance of pre-optimization done (n=518): time 8.005e-06/0.9113, allocations: 1.094 kB / 0.5983 GB, free: 71.47 MB / 394.8 MB Notification: Performance of matching and sorting (n=524): time 0.02275/0.9341, allocations: 10.53 MB / 0.6086 GB, free: 61.27 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.9341, allocations: 107.5 kB / 0.6087 GB, free: 61.15 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004068/0.9382, allocations: 3.64 MB / 0.6123 GB, free: 58.16 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000875/0.9391, allocations: 113.7 kB / 0.6124 GB, free: 58.04 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001954/0.941, allocations: 4.97 MB / 0.6172 GB, free: 53.96 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00161/0.9426, allocations: 1.919 MB / 0.6191 GB, free: 52.2 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001397/0.944, allocations: 1.533 MB / 0.6206 GB, free: 50.79 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 4.748e-05/0.9441, allocations: 476.8 kB / 0.621 GB, free: 50.32 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/0.9452, allocations: 0.8409 MB / 0.6219 GB, free: 49.48 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002118/0.9473, allocations: 4.52 MB / 0.6263 GB, free: 43.66 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004645/0.9519, allocations: 6.051 MB / 0.6322 GB, free: 36.52 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.258e-05/0.952, allocations: 24 kB / 0.6322 GB, free: 36.5 MB / 394.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.008237/0.9603, allocations: 5.735 MB / 0.6378 GB, free: 31.22 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.35e-05/0.9603, allocations: 40 kB / 0.6379 GB, free: 31.18 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001298/0.9604, allocations: 76 kB / 0.6379 GB, free: 31.11 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002422/0.9629, allocations: 1.238 MB / 0.6391 GB, free: 29.88 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003738/0.9666, allocations: 1.481 MB / 0.6406 GB, free: 28.51 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006296/0.9729, allocations: 6.407 MB / 0.6468 GB, free: 22.15 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003734/0.9766, allocations: 251.8 kB / 0.6471 GB, free: 21.91 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001056/0.9777, allocations: 287.9 kB / 0.6473 GB, free: 21.62 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.002841/0.9805, allocations: 0.6067 MB / 0.6479 GB, free: 21.12 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001058/0.9816, allocations: 0.6415 MB / 0.6486 GB, free: 20.47 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00524/0.9868, allocations: 4.163 MB / 0.6526 GB, free: 16.27 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003451/0.9903, allocations: 2.916 MB / 0.6555 GB, free: 13.31 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/0.9903, allocations: 12 kB / 0.6555 GB, free: 13.3 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.161e-05/0.9903, allocations: 27.89 kB / 0.6555 GB, free: 13.27 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02232/1.013, allocations: 12.55 MB / 0.6678 GB, free: 1.906 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/1.013, allocations: 288 / 0.6678 GB, free: 1.906 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001766/1.014, allocations: 0.822 MB / 0.6686 GB, free: 1.129 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002129/1.017, allocations: 1.102 MB / 0.6697 GB, free: 32 kB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004574/1.017, allocations: 123.4 kB / 0.6698 GB, free: 15.91 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006422/1.023, allocations: 5.84 MB / 0.6755 GB, free: 10.09 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.483e-06/1.023, allocations: 7 kB / 0.6755 GB, free: 10.09 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008165/1.032, allocations: 4.973 MB / 0.6803 GB, free: 5.039 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002005/1.034, allocations: 0.9087 MB / 0.6812 GB, free: 4.129 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005446/1.034, allocations: 100 kB / 0.6813 GB, free: 4.031 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/1.035, allocations: 132 kB / 0.6814 GB, free: 3.902 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005752/1.036, allocations: 383.6 kB / 0.6818 GB, free: 3.527 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002089/1.036, allocations: 116 kB / 0.6819 GB, free: 3.414 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.001935/1.038, allocations: 1.572 MB / 0.6835 GB, free: 2.008 MB / 410.8 MB Notification: Performance of sort global known variables: time 4.61e-07/1.038, allocations: 4 kB / 0.6835 GB, free: 2.004 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.005765/1.044, allocations: 1.91 MB / 0.6853 GB, free: 96 kB / 410.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.0007125/1.044, allocations: 304 kB / 0.6856 GB, free: 15.85 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.007019/1.051, allocations: 4.433 MB / 0.6899 GB, free: 11.68 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 8.667e-06/1.051, allocations: 0.875 kB / 0.6899 GB, free: 11.68 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003443/1.055, allocations: 2.324 MB / 0.6922 GB, free: 9.465 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00371/1.059, allocations: 1.045 MB / 0.6932 GB, free: 8.465 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02452/1.083, allocations: 15.85 MB / 0.7087 GB, free: 8.543 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003531/1.087, allocations: 2.982 MB / 0.7116 GB, free: 5.523 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.002899/1.09, allocations: 0.8136 MB / 0.7124 GB, free: 4.703 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001983/1.092, allocations: 1.189 MB / 0.7136 GB, free: 3.512 MB / 442.8 MB Notification: Performance of SimCode: time 2.074e-06/1.092, allocations: 0 / 0.7136 GB, free: 3.512 MB / 442.8 MB Notification: Performance of Templates: time 0.2426/1.334, allocations: 78.21 MB / 0.79 GB, free: 80.02 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.827385758981109]