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.0.0+maint.om/package.mo", uses=false) [Timeout 180] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 103.6 kB / 16.4 MB, free: 6.508 MB / 14.72 MB [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 222.9 MB / 242.1 MB, free: 15.23 MB / 206.1 MB [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 195.2 kB / 294.4 MB, free: 12.67 MB / 238.1 MB [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0408/0.0408, allocations: 8.797 MB / 355.3 MB, free: 15.92 MB / 302.1 MB [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002364/0.002364, allocations: 79.88 kB / 472.6 MB, free: 5.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3114, allocations: 51.57 MB / 0.5119 GB, free: 12.44 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_withLosses): time 0.0291/0.3405, allocations: 24.85 MB / 0.5362 GB, free: 4.117 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01778/0.3583, allocations: 7.995 MB / 0.544 GB, free: 12.1 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00609/0.3645, allocations: 183.4 kB / 0.5442 GB, free: 11.92 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02077/0.3853, allocations: 8.368 MB / 0.5523 GB, free: 3.531 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01477/0.4, allocations: 2.988 MB / 0.5553 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009315/0.4094, allocations: 1.806 MB / 0.557 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02503/0.4344, allocations: 11.11 MB / 0.5679 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05625/0.4907, allocations: 23.26 MB / 0.5906 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01137/0.5022, allocations: 5.903 MB / 0.5963 GB, free: 6.238 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01263/0.5148, allocations: 6.444 MB / 0.6026 GB, free: 15.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004876/0.5197, allocations: 1.715 MB / 0.6043 GB, free: 14.06 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006396/0.5262, allocations: 2.125 MB / 0.6064 GB, free: 11.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00567/0.5319, allocations: 3.394 MB / 0.6097 GB, free: 8.531 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01242/0.5443, allocations: 6.354 MB / 0.6159 GB, free: 2.152 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0324/0.5767, allocations: 23.17 MB / 0.6385 GB, free: 10.9 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.5768, allocations: 0 / 0.6385 GB, free: 10.9 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.5768, allocations: 0 / 0.6385 GB, free: 10.9 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006716/0.5775, allocations: 0 / 0.6385 GB, free: 10.9 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.04544/0.6229, allocations: 13.62 MB / 0.6518 GB, free: 13.17 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.623, allocations: 11.97 kB / 0.6519 GB, free: 13.16 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0365/0.6595, allocations: 6.315 MB / 0.658 GB, free: 6.828 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5002/1.16, allocations: 7.261 MB / 0.6651 GB, free: 116.6 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00145/1.161, allocations: 0.72 MB / 0.6658 GB, free: 116.5 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00532/1.167, allocations: 0.9407 MB / 0.6667 GB, free: 116.5 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03947/1.206, allocations: 16.14 MB / 0.6825 GB, free: 110.3 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004873/1.207, allocations: 11.55 kB / 0.6825 GB, free: 110.3 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00358/1.21, allocations: 399 kB / 0.6829 GB, free: 110 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006637/1.211, allocations: 0.5619 MB / 0.6834 GB, free: 110 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0321/1.243, allocations: 15.1 MB / 0.6982 GB, free: 97.52 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08576/1.329, allocations: 52.14 MB / 0.7491 GB, free: 45.28 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01675/1.346, allocations: 20.09 MB / 0.7687 GB, free: 23.25 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005595/1.351, allocations: 3.639 MB / 0.7723 GB, free: 19.62 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005715/1.352, allocations: 183.4 kB / 0.7725 GB, free: 19.43 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.553e-05/1.352, allocations: 86 kB / 0.7725 GB, free: 19.34 MB / 478.1 MB Notification: Performance of pre-optimization done (n=447): time 6.122e-06/1.352, allocations: 0 / 0.7725 GB, free: 19.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=452): time 0.04959/1.402, allocations: 20.75 MB / 0.7928 GB, free: 14.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.134e-05/1.402, allocations: 102.9 kB / 0.7929 GB, free: 14.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006829/1.408, allocations: 4.498 MB / 0.7973 GB, free: 10.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006751/1.409, allocations: 97.7 kB / 0.7974 GB, free: 10.22 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003354/1.413, allocations: 4.336 MB / 0.8016 GB, free: 6.094 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002057/1.415, allocations: 1.615 MB / 0.8032 GB, free: 4.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001999/1.417, allocations: 1.192 MB / 0.8044 GB, free: 3.297 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/1.417, allocations: 305.1 kB / 0.8046 GB, free: 2.996 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005004/1.422, allocations: 3.065 MB / 0.8076 GB, free: 15.92 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006931/1.429, allocations: 5.22 MB / 0.8127 GB, free: 9.73 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.014/1.443, allocations: 8.868 MB / 0.8214 GB, free: 15.89 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.861e-05/1.443, allocations: 23.94 kB / 0.8214 GB, free: 15.87 MB / 0.5138 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02251/1.465, allocations: 9.888 MB / 0.8311 GB, free: 5.965 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 7.702e-05/1.465, allocations: 32 kB / 0.8311 GB, free: 5.934 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001555/1.466, allocations: 72 kB / 0.8312 GB, free: 5.863 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004214/1.47, allocations: 1.399 MB / 0.8325 GB, free: 4.461 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006039/1.476, allocations: 1.392 MB / 0.8339 GB, free: 3.066 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01981/1.496, allocations: 12.66 MB / 0.8463 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005007/1.501, allocations: 355.6 kB / 0.8466 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00108/1.502, allocations: 296 kB / 0.8469 GB, free: 5.496 MB / 0.5294 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.008/1.51, allocations: 3.892 MB / 0.8507 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001353/1.511, allocations: 476.9 kB / 0.8511 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01557/1.527, allocations: 8.514 MB / 0.8595 GB, free: 8.547 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01179/1.539, allocations: 6.252 MB / 0.8656 GB, free: 2.277 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.718e-05/1.539, allocations: 16 kB / 0.8656 GB, free: 2.262 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.364e-05/1.539, allocations: 27.91 kB / 0.8656 GB, free: 2.234 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03249/1.571, allocations: 17.4 MB / 0.8826 GB, free: 0.6914 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.328e-05/1.571, allocations: 8 kB / 0.8826 GB, free: 0.6836 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2855/1.857, allocations: 0.8049 MB / 0.8834 GB, free: 192.2 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004865/1.862, allocations: 1.294 MB / 0.8847 GB, free: 192.1 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001035/1.863, allocations: 102.9 kB / 0.8848 GB, free: 192.1 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01373/1.877, allocations: 11.55 MB / 0.896 GB, free: 186.9 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/1.877, allocations: 11.28 kB / 0.896 GB, free: 186.9 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01598/1.893, allocations: 11.22 MB / 0.907 GB, free: 182.2 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002458/1.895, allocations: 1.115 MB / 0.9081 GB, free: 181.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007829/1.896, allocations: 87.72 kB / 0.9082 GB, free: 181.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002303/1.898, allocations: 242.5 kB / 0.9084 GB, free: 181.6 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007165/1.899, allocations: 324.8 kB / 0.9087 GB, free: 181.6 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002698/1.899, allocations: 141.7 kB / 0.9089 GB, free: 181.6 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004506/1.904, allocations: 3.104 MB / 0.9119 GB, free: 180.4 MB / 0.5607 GB Notification: Performance of sort global known variables: time 4.5e-07/1.904, allocations: 0 / 0.9119 GB, free: 180.4 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.006/1.91, allocations: 1.725 MB / 0.9136 GB, free: 180.3 MB / 0.5607 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.002024/1.912, allocations: 0.5361 MB / 0.9141 GB, free: 180 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01882/1.931, allocations: 7.995 MB / 0.9219 GB, free: 176.9 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.565e-05/1.931, allocations: 3.75 kB / 0.9219 GB, free: 176.9 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.01081/1.942, allocations: 3.941 MB / 0.9258 GB, free: 174.6 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009295/1.951, allocations: 1.06 MB / 0.9268 GB, free: 173.8 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04518/1.996, allocations: 18.27 MB / 0.9446 GB, free: 157.1 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007186/2.003, allocations: 6.507 MB / 0.951 GB, free: 151.6 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005248/2.009, allocations: 2.119 MB / 0.9531 GB, free: 149.5 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00118/2.01, allocations: 379.4 kB / 0.9534 GB, free: 149.1 MB / 0.5607 GB Notification: Performance of SimCode: time 1.082e-06/2.01, allocations: 0 / 0.9534 GB, free: 149.1 MB / 0.5607 GB Notification: Performance of Templates: time 0.1074/2.117, allocations: 71.96 MB / 1.024 GB, free: 77.57 MB / 0.5607 GB [Timeout remaining time 658] 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: 9.47103093098849]