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.001589/0.001589, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.471/1.471, allocations: 230.6 MB / 253.4 MB, free: 8.301 MB / 206.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.002185/0.002185, allocations: 220.1 kB / 310 MB, free: 3.145 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.04126/0.04126, allocations: 8.922 MB / 375.3 MB, free: 1.898 MB / 302.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.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: 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.002621/0.002621, allocations: 91.42 kB / 0.4904 GB, free: 4.293 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.15, allocations: 55.61 MB / 0.5448 GB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_withLosses): time 0.03341/0.1834, allocations: 25.08 MB / 0.5692 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02066/0.2041, allocations: 8.295 MB / 0.5773 GB, free: 3.012 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006704/0.2108, allocations: 210.9 kB / 0.5775 GB, free: 2.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02259/0.2334, allocations: 8.512 MB / 0.5859 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01355/0.2469, allocations: 3.144 MB / 0.5889 GB, free: 7.117 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007749/0.2546, allocations: 1.887 MB / 0.5908 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02072/0.2754, allocations: 11.35 MB / 0.6019 GB, free: 9.855 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0405/0.3159, allocations: 14.67 MB / 0.6162 GB, free: 11.03 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01411/0.33, allocations: 6.071 MB / 0.6221 GB, free: 4.945 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01436/0.3443, allocations: 6.573 MB / 0.6285 GB, free: 14.35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006134/0.3505, allocations: 1.719 MB / 0.6302 GB, free: 12.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009177/0.3597, allocations: 2.167 MB / 0.6323 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007913/0.3676, allocations: 3.406 MB / 0.6357 GB, free: 7.051 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.016/0.3836, allocations: 6.358 MB / 0.6419 GB, free: 0.668 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.6244/1.008, allocations: 23.2 MB / 0.6645 GB, free: 43.21 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.979e-06/1.008, allocations: 0 / 0.6645 GB, free: 43.21 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.124e-06/1.008, allocations: 0 / 0.6645 GB, free: 43.21 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0008286/1.009, allocations: 0 / 0.6645 GB, free: 43.21 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: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.05269/1.061, allocations: 13.57 MB / 0.6778 GB, free: 39.59 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.037e-05/1.062, allocations: 9.719 kB / 0.6778 GB, free: 39.59 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03646/1.098, allocations: 6.252 MB / 0.6839 GB, free: 38.21 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0197/1.118, allocations: 7.364 MB / 0.6911 GB, free: 36.04 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008555/1.119, allocations: 0.724 MB / 0.6918 GB, free: 35.71 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00623/1.125, allocations: 0.9455 MB / 0.6927 GB, free: 35.4 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04961/1.174, allocations: 16.17 MB / 0.7085 GB, free: 25.44 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005085/1.175, allocations: 11.94 kB / 0.7085 GB, free: 25.43 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005619/1.181, allocations: 405.5 kB / 0.7089 GB, free: 25.05 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005365/1.181, allocations: 0.563 MB / 0.7094 GB, free: 24.48 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03587/1.217, allocations: 15.14 MB / 0.7242 GB, free: 9.324 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1144/1.331, allocations: 51.42 MB / 0.7744 GB, free: 5.863 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01876/1.35, allocations: 8.644 MB / 0.7829 GB, free: 14.02 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007006/1.357, allocations: 3.325 MB / 0.7861 GB, free: 10.7 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005592/1.358, allocations: 140.7 kB / 0.7863 GB, free: 10.59 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.402e-05/1.358, allocations: 78.06 kB / 0.7863 GB, free: 10.5 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=447): time 6.021e-06/1.358, allocations: 0 / 0.7863 GB, free: 10.5 MB / 0.5138 GB Notification: Performance of matching and sorting (n=452): time 0.05724/1.415, allocations: 20.55 MB / 0.8064 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/1.415, allocations: 102.3 kB / 0.8065 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00827/1.423, allocations: 4.518 MB / 0.8109 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001032/1.424, allocations: 97.7 kB / 0.811 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003973/1.428, allocations: 4.334 MB / 0.8152 GB, free: 12.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002552/1.431, allocations: 1.611 MB / 0.8168 GB, free: 11.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002379/1.433, allocations: 1.212 MB / 0.818 GB, free: 10.1 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001436/1.433, allocations: 301.1 kB / 0.8183 GB, free: 9.801 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00563/1.439, allocations: 3.069 MB / 0.8213 GB, free: 6.727 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008261/1.447, allocations: 5.217 MB / 0.8264 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01501/1.462, allocations: 8.894 MB / 0.8351 GB, free: 6.992 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.699e-05/1.462, allocations: 20 kB / 0.8351 GB, free: 6.973 MB / 0.5607 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02207/1.485, allocations: 9.863 MB / 0.8447 GB, free: 13.54 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 8.503e-05/1.485, allocations: 36 kB / 0.8447 GB, free: 13.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001597/1.485, allocations: 68 kB / 0.8448 GB, free: 13.44 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004334/1.489, allocations: 1.411 MB / 0.8462 GB, free: 12.03 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006058/1.495, allocations: 1.387 MB / 0.8475 GB, free: 10.73 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02277/1.518, allocations: 12.47 MB / 0.8597 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005597/1.524, allocations: 359.5 kB / 0.8601 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001598/1.525, allocations: 296 kB / 0.8603 GB, free: 13.46 MB / 0.5919 GB 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.01035/1.535, allocations: 3.882 MB / 0.8641 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00212/1.538, allocations: 488.8 kB / 0.8646 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01874/1.556, allocations: 8.483 MB / 0.8729 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01258/1.569, allocations: 6.228 MB / 0.879 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.218e-05/1.569, allocations: 22.12 kB / 0.879 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.448e-05/1.569, allocations: 19.92 kB / 0.879 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3656/1.935, allocations: 17.45 MB / 0.8961 GB, free: 224.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-05/1.935, allocations: 7.859 kB / 0.8961 GB, free: 224.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003493/1.938, allocations: 0.8132 MB / 0.8969 GB, free: 224.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003627/1.942, allocations: 1.292 MB / 0.8981 GB, free: 224.3 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007934/1.943, allocations: 111.5 kB / 0.8982 GB, free: 224.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01365/1.956, allocations: 11.34 MB / 0.9093 GB, free: 218.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/1.956, allocations: 14.44 kB / 0.9093 GB, free: 218.3 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01735/1.974, allocations: 11.22 MB / 0.9203 GB, free: 213.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003666/1.977, allocations: 1.063 MB / 0.9213 GB, free: 213.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001326/1.979, allocations: 94.53 kB / 0.9214 GB, free: 213.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003008/1.982, allocations: 229.1 kB / 0.9216 GB, free: 213.1 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007457/1.982, allocations: 342.8 kB / 0.9219 GB, free: 213 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002774/1.983, allocations: 140.5 kB / 0.9221 GB, free: 213 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.004828/1.987, allocations: 3.125 MB / 0.9251 GB, free: 211.9 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.1e-08/1.987, allocations: 3.172 kB / 0.9251 GB, free: 211.9 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.008502/1.996, allocations: 1.722 MB / 0.9268 GB, free: 211.7 MB / 0.6075 GB 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.002447/1.998, allocations: 0.5269 MB / 0.9273 GB, free: 211.5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01287/2.011, allocations: 7.676 MB / 0.9348 GB, free: 206.2 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.42e-05/2.011, allocations: 4 kB / 0.9348 GB, free: 206.2 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.006761/2.018, allocations: 3.7 MB / 0.9384 GB, free: 203 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006/2.024, allocations: 1.06 MB / 0.9395 GB, free: 202.1 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03137/2.055, allocations: 18.1 MB / 0.9571 GB, free: 185.3 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008025/2.063, allocations: 6.325 MB / 0.9633 GB, free: 179 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002042/2.065, allocations: 459.3 kB / 0.9638 GB, free: 178.5 MB / 0.6075 GB Notification: Performance of SimCode: time 1.503e-06/2.065, allocations: 0 / 0.9638 GB, free: 178.5 MB / 0.6075 GB Notification: Performance of Templates: time 0.5299/2.595, allocations: 230.3 MB / 1.189 GB, free: 188.1 MB / 0.6075 GB " [Timeout remaining time 657] 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 20.892097556963563] Failed to read output from testmodel.py, exit status != 0: 2.6063089889939874 2.615572149 1.604642236 Calling exit ...