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.0015/0.0015, allocations: 80.22 kB / 19 MB, free: 2.867 MB / 14.72 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.469/1.469, allocations: 177.2 MB / 199.3 MB, free: 9.453 MB / 190.1 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.001611/0.001611, allocations: 157.4 kB / 255.8 MB, free: 0.8984 MB / 238.1 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.03853/0.03853, allocations: 6.664 MB / 318.9 MB, free: 48.5 MB / 286.1 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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002837/0.002837, allocations: 83.88 kB / 445.7 MB, free: 1.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2858, allocations: 55.58 MB / 0.4895 GB, free: 26.12 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.01998/0.3058, allocations: 23.25 MB / 0.5122 GB, free: 2.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01965/0.3254, allocations: 7.863 MB / 0.5199 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006209/0.3316, allocations: 238.8 kB / 0.5201 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02432/0.356, allocations: 9.176 MB / 0.5291 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01545/0.3714, allocations: 3.376 MB / 0.5324 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007883/0.3793, allocations: 1.812 MB / 0.5341 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02023/0.3995, allocations: 12.4 MB / 0.5462 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03633/0.4358, allocations: 15.83 MB / 0.5617 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02312/0.459, allocations: 10.01 MB / 0.5715 GB, free: 5.762 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01473/0.4737, allocations: 6.949 MB / 0.5783 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00581/0.4795, allocations: 1.836 MB / 0.5801 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009233/0.4887, allocations: 2.207 MB / 0.5822 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007593/0.4963, allocations: 3.608 MB / 0.5857 GB, free: 7.129 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01299/0.5093, allocations: 5.366 MB / 0.591 GB, free: 1.738 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5582/1.068, allocations: 24.88 MB / 0.6153 GB, free: 45.03 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.417e-06/1.068, allocations: 7.188 kB / 0.6153 GB, free: 45.03 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.774e-06/1.068, allocations: 0 / 0.6153 GB, free: 45.03 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0008325/1.068, allocations: 0 / 0.6153 GB, free: 45.03 MB / 462.1 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.0584/1.127, allocations: 14.66 MB / 0.6296 GB, free: 41.21 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.091e-05/1.127, allocations: 9.812 kB / 0.6296 GB, free: 41.21 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04949/1.176, allocations: 8.457 MB / 0.6379 GB, free: 38.25 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02183/1.198, allocations: 7.818 MB / 0.6455 GB, free: 35.07 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001158/1.199, allocations: 0.8022 MB / 0.6463 GB, free: 34.71 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007537/1.207, allocations: 1.056 MB / 0.6473 GB, free: 34.36 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.053/1.26, allocations: 18.55 MB / 0.6654 GB, free: 18.28 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007318/1.261, allocations: 15.94 kB / 0.6654 GB, free: 18.26 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006988/1.268, allocations: 453 kB / 0.6659 GB, free: 17.84 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009836/1.269, allocations: 0.6633 MB / 0.6665 GB, free: 17.17 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04222/1.311, allocations: 17.49 MB / 0.6836 GB, free: 15.68 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1234/1.434, allocations: 50.35 MB / 0.7328 GB, free: 13.24 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02717/1.461, allocations: 12.65 MB / 0.7451 GB, free: 2.664 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007872/1.469, allocations: 3.726 MB / 0.7488 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007243/1.47, allocations: 131.9 kB / 0.7489 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/1.47, allocations: 90.09 kB / 0.749 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=518): time 1.332e-05/1.47, allocations: 0 / 0.749 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of matching and sorting (n=524): time 0.06249/1.533, allocations: 21.29 MB / 0.7698 GB, free: 9.27 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/1.533, allocations: 107.5 kB / 0.7699 GB, free: 9.148 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0091/1.542, allocations: 4.004 MB / 0.7738 GB, free: 5.156 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001327/1.543, allocations: 109.7 kB / 0.7739 GB, free: 5.043 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.006303/1.549, allocations: 4.697 MB / 0.7785 GB, free: 336 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.003958/1.553, allocations: 1.858 MB / 0.7803 GB, free: 14.5 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005618/1.559, allocations: 1.371 MB / 0.7816 GB, free: 13.12 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.0002374/1.559, allocations: 305.1 kB / 0.7819 GB, free: 12.82 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008061/1.567, allocations: 3.43 MB / 0.7853 GB, free: 9.383 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01139/1.579, allocations: 5.899 MB / 0.791 GB, free: 2.422 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02045/1.599, allocations: 10.02 MB / 0.8008 GB, free: 7.559 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000128/1.599, allocations: 20 kB / 0.8008 GB, free: 7.539 MB / 0.5763 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02802/1.627, allocations: 10.88 MB / 0.8115 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001531/1.627, allocations: 40 kB / 0.8115 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002208/1.628, allocations: 78.84 kB / 0.8116 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004627/1.632, allocations: 1.374 MB / 0.8129 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007147/1.639, allocations: 1.61 MB / 0.8145 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02045/1.66, allocations: 10.93 MB / 0.8252 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00634/1.666, allocations: 399.5 kB / 0.8256 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001948/1.668, allocations: 340 kB / 0.8259 GB, free: 14.37 MB / 0.6075 GB 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.01095/1.679, allocations: 4.165 MB / 0.8299 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001952/1.681, allocations: 473 kB / 0.8304 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01997/1.701, allocations: 8.387 MB / 0.8386 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2982/1.999, allocations: 7.029 MB / 0.8454 GB, free: 225 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.93e-05/1.999, allocations: 10.81 kB / 0.8455 GB, free: 225 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001127/1.999, allocations: 28.45 kB / 0.8455 GB, free: 225 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03193/2.031, allocations: 16.13 MB / 0.8612 GB, free: 219.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.865e-05/2.031, allocations: 6.578 kB / 0.8612 GB, free: 219.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003589/2.035, allocations: 0.9398 MB / 0.8622 GB, free: 219.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003134/2.038, allocations: 1.219 MB / 0.8633 GB, free: 219.2 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004891/2.039, allocations: 115.5 kB / 0.8635 GB, free: 219.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01205/2.051, allocations: 9.647 MB / 0.8729 GB, free: 214.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/2.051, allocations: 7.562 kB / 0.8729 GB, free: 214.1 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01768/2.068, allocations: 12.2 MB / 0.8848 GB, free: 204.4 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003905/2.072, allocations: 1.091 MB / 0.8859 GB, free: 203.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001154/2.073, allocations: 98.02 kB / 0.886 GB, free: 203.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002752/2.076, allocations: 266.1 kB / 0.8862 GB, free: 203.4 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007453/2.077, allocations: 376 kB / 0.8866 GB, free: 203.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003031/2.077, allocations: 151.9 kB / 0.8867 GB, free: 203.1 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003428/2.081, allocations: 2.585 MB / 0.8892 GB, free: 200.9 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/2.081, allocations: 0 / 0.8892 GB, free: 200.9 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.006437/2.087, allocations: 1.923 MB / 0.8911 GB, free: 199 MB / 0.6075 GB 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.0008808/2.088, allocations: 287.6 kB / 0.8914 GB, free: 198.8 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01302/2.101, allocations: 8.359 MB / 0.8996 GB, free: 191.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/2.101, allocations: 0 / 0.8996 GB, free: 191.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00698/2.108, allocations: 3.869 MB / 0.9033 GB, free: 187.9 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005932/2.114, allocations: 1.012 MB / 0.9043 GB, free: 187 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02837/2.142, allocations: 19.49 MB / 0.9234 GB, free: 167.4 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006267/2.149, allocations: 6.584 MB / 0.9298 GB, free: 160.8 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.005304/2.154, allocations: 2.289 MB / 0.932 GB, free: 158.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001303/2.155, allocations: 436.4 kB / 0.9324 GB, free: 158 MB / 0.6075 GB Notification: Performance of SimCode: time 1.022e-06/2.155, allocations: 4 kB / 0.9324 GB, free: 158 MB / 0.6075 GB Notification: Performance of Templates: time 0.111/2.266, allocations: 71.86 MB / 1.003 GB, free: 86.87 MB / 0.6075 GB " [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.302418291568756] Failed to read output from testmodel.py, exit status != 0: 2.276398116722703 2.285503479 1.215066411 Calling exit ...