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.001102/0.001102, allocations: 93.06 kB / 19.65 MB, free: 272 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.9899/0.9899, allocations: 177.2 MB / 200 MB, free: 5.535 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.001887/0.001887, allocations: 160.5 kB / 256.6 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.02388/0.02388, allocations: 6.656 MB / 319.8 MB, free: 26.52 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 / 391.6 MB, free: 2.574 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/3.014e-05, allocations: 2.312 kB / 391.6 MB, free: 2.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.1823/0.1824, allocations: 26.12 MB / 417.8 MB, free: 69.32 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01604/0.1984, allocations: 8.075 MB / 425.8 MB, free: 66.62 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003908/0.2023, allocations: 240.1 kB / 426.1 MB, free: 66.54 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01018/0.2125, allocations: 9.893 MB / 436 MB, free: 60.39 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007295/0.2198, allocations: 3.46 MB / 439.4 MB, free: 57.66 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003037/0.2228, allocations: 1.844 MB / 441.3 MB, free: 56.24 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009958/0.2328, allocations: 12.79 MB / 454.1 MB, free: 44.82 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01703/0.2498, allocations: 15.9 MB / 470 MB, free: 28.75 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01101/0.2608, allocations: 9.817 MB / 479.8 MB, free: 18.91 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007786/0.2686, allocations: 7.124 MB / 486.9 MB, free: 11.78 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003069/0.2717, allocations: 1.832 MB / 488.7 MB, free: 9.945 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004443/0.2761, allocations: 2.23 MB / 491 MB, free: 7.715 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002357/0.2785, allocations: 3.729 MB / 494.7 MB, free: 3.977 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004599/0.2831, allocations: 4.69 MB / 499.4 MB, free: 15.27 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01172/0.2948, allocations: 11.78 MB / 0.4992 GB, free: 3.461 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2948, allocations: 0 / 0.4992 GB, free: 3.461 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2948, allocations: 0 / 0.4992 GB, free: 3.461 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003685/0.2952, allocations: 4 kB / 0.4992 GB, free: 3.457 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.02483/0.32, allocations: 15.56 MB / 0.5144 GB, free: 3.785 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.32, allocations: 12.03 kB / 0.5144 GB, free: 3.773 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02435/0.3444, allocations: 10.36 MB / 0.5245 GB, free: 9.391 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01237/0.3568, allocations: 7.395 MB / 0.5317 GB, free: 1.898 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007169/0.3575, allocations: 0.8067 MB / 0.5325 GB, free: 1.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002357/0.3598, allocations: 1.066 MB / 0.5336 GB, free: 24 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01818/0.378, allocations: 9.718 MB / 0.5431 GB, free: 6.188 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002118/0.3782, allocations: 11.95 kB / 0.5431 GB, free: 6.176 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008263/0.3791, allocations: 448 kB / 0.5435 GB, free: 5.738 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005676/0.3796, allocations: 0.6672 MB / 0.5442 GB, free: 5.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.304/0.6836, allocations: 5.625 MB / 0.5496 GB, free: 88.12 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07751/0.7611, allocations: 46.18 MB / 0.5947 GB, free: 68.19 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01331/0.7745, allocations: 11.11 MB / 0.6056 GB, free: 63.26 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003014/0.7775, allocations: 1.713 MB / 0.6073 GB, free: 61.53 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00031/0.7778, allocations: 169 kB / 0.6074 GB, free: 61.36 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.73e-05/0.7778, allocations: 93.45 kB / 0.6075 GB, free: 61.26 MB / 394.8 MB Notification: Performance of pre-optimization done (n=518): time 7.334e-06/0.7778, allocations: 0 / 0.6075 GB, free: 61.26 MB / 394.8 MB Notification: Performance of matching and sorting (n=524): time 0.02403/0.8019, allocations: 12.65 MB / 0.6199 GB, free: 48.9 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.505e-05/0.8019, allocations: 115.5 kB / 0.62 GB, free: 48.77 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004428/0.8063, allocations: 3.702 MB / 0.6236 GB, free: 45.19 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009017/0.8072, allocations: 109.7 kB / 0.6237 GB, free: 45.07 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002034/0.8093, allocations: 4.946 MB / 0.6285 GB, free: 40.51 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001424/0.8107, allocations: 1.9 MB / 0.6304 GB, free: 38.63 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001475/0.8122, allocations: 1.512 MB / 0.6319 GB, free: 37.11 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 4.007e-05/0.8122, allocations: 476.8 kB / 0.6323 GB, free: 36.64 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001636/0.8139, allocations: 1.095 MB / 0.6334 GB, free: 35.54 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002545/0.8164, allocations: 4.745 MB / 0.638 GB, free: 29.33 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005033/0.8214, allocations: 6.482 MB / 0.6444 GB, free: 21.6 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.041e-05/0.8215, allocations: 24 kB / 0.6444 GB, free: 21.57 MB / 394.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.00874/0.8303, allocations: 6.332 MB / 0.6506 GB, free: 15.68 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.383e-05/0.8303, allocations: 43.92 kB / 0.6506 GB, free: 15.64 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.615e-05/0.8304, allocations: 80 kB / 0.6507 GB, free: 15.56 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002498/0.8329, allocations: 1.275 MB / 0.6519 GB, free: 14.29 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003593/0.8365, allocations: 1.621 MB / 0.6535 GB, free: 12.77 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007042/0.8435, allocations: 6.767 MB / 0.6601 GB, free: 5.945 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003911/0.8474, allocations: 391.5 kB / 0.6605 GB, free: 5.562 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009336/0.8484, allocations: 336.8 kB / 0.6608 GB, free: 5.234 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.002925/0.8513, allocations: 0.6108 MB / 0.6614 GB, free: 4.719 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001076/0.8524, allocations: 0.6376 MB / 0.662 GB, free: 4.078 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006144/0.8585, allocations: 4.625 MB / 0.6666 GB, free: 15.39 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005574/0.8641, allocations: 3.374 MB / 0.6699 GB, free: 11.97 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.42e-05/0.8641, allocations: 12 kB / 0.6699 GB, free: 11.96 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.003e-05/0.8641, allocations: 23.91 kB / 0.6699 GB, free: 11.93 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02442/0.8886, allocations: 13.19 MB / 0.6828 GB, free: 14.83 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/0.8886, allocations: 4 kB / 0.6828 GB, free: 14.82 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002065/0.8906, allocations: 0.9381 MB / 0.6837 GB, free: 13.93 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002474/0.8931, allocations: 1.149 MB / 0.6848 GB, free: 12.78 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004057/0.8935, allocations: 120 kB / 0.6849 GB, free: 12.66 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007138/0.9006, allocations: 6.175 MB / 0.691 GB, free: 6.391 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.9007, allocations: 0 / 0.691 GB, free: 6.391 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009274/0.9099, allocations: 5.682 MB / 0.6965 GB, free: 0.543 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001979/0.9119, allocations: 1 MB / 0.6975 GB, free: 15.54 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005348/0.9124, allocations: 92 kB / 0.6976 GB, free: 15.45 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.9137, allocations: 263.8 kB / 0.6978 GB, free: 15.19 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006272/0.9143, allocations: 372.2 kB / 0.6982 GB, free: 14.82 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002359/0.9146, allocations: 160 kB / 0.6983 GB, free: 14.67 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.002497/0.9171, allocations: 1.693 MB / 0.7 GB, free: 12.99 MB / 442.8 MB Notification: Performance of sort global known variables: time 7e-08/0.9171, allocations: 0 / 0.7 GB, free: 12.99 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.005827/0.9229, allocations: 1.91 MB / 0.7018 GB, free: 11.08 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.0007005/0.9236, allocations: 301.8 kB / 0.7021 GB, free: 10.84 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.008192/0.9318, allocations: 4.913 MB / 0.7069 GB, free: 6.102 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.9318, allocations: 0 / 0.7069 GB, free: 6.102 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003811/0.9356, allocations: 2.554 MB / 0.7094 GB, free: 3.598 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003964/0.9396, allocations: 1.047 MB / 0.7104 GB, free: 2.594 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1818/1.121, allocations: 16.02 MB / 0.7261 GB, free: 127.2 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004521/1.126, allocations: 2.985 MB / 0.729 GB, free: 126.9 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.004269/1.13, allocations: 1.936 MB / 0.7309 GB, free: 126.8 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00098/1.131, allocations: 435 kB / 0.7313 GB, free: 126.8 MB / 442.8 MB Notification: Performance of SimCode: time 1.793e-06/1.131, allocations: 0 / 0.7313 GB, free: 126.8 MB / 442.8 MB Notification: Performance of Templates: time 0.08981/1.221, allocations: 75.21 MB / 0.8048 GB, free: 64.82 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.603294990956783]