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.0007331/0.0007331, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009264/0.00166, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.038/1.038, allocations: 177.2 MB / 188.4 MB, free: 4.406 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2227/1.261, allocations: 53.65 MB / 242 MB, free: 2.605 MB / 234.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.001761/0.001761, allocations: 153.8 kB / 242.9 MB, free: 1.727 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00184/0.003601, allocations: 478.8 kB / 243.4 MB, free: 1.27 MB / 234.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.03875/0.03875, allocations: 6.652 MB / 250.8 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008253/0.04701, allocations: 2.672 MB / 253.5 MB, free: 7.398 MB / 250.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 2.464e-06/2.464e-06, allocations: 0 / 254.8 MB, free: 6.102 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.213e-05, allocations: 2.312 kB / 254.8 MB, free: 6.098 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.02797/0.02799, allocations: 25.62 MB / 280.4 MB, free: 12.37 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01904/0.04703, allocations: 8.51 MB / 288.9 MB, free: 3.824 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005715/0.05275, allocations: 238.8 kB / 289.1 MB, free: 3.59 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01315/0.06589, allocations: 9.892 MB / 299 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01063/0.07652, allocations: 3.441 MB / 302.5 MB, free: 6.191 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003663/0.08018, allocations: 1.829 MB / 304.3 MB, free: 4.363 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01339/0.09357, allocations: 12.86 MB / 317.1 MB, free: 7.461 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2123/0.3058, allocations: 15.92 MB / 333.1 MB, free: 8.008 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01601/0.3219, allocations: 10.15 MB / 343.2 MB, free: 7.926 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008131/0.33, allocations: 7.209 MB / 350.4 MB, free: 7.926 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002069/0.3321, allocations: 1.832 MB / 352.2 MB, free: 7.926 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002847/0.3349, allocations: 2.245 MB / 354.5 MB, free: 7.926 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001614/0.3365, allocations: 2.973 MB / 357.5 MB, free: 7.926 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003131/0.3396, allocations: 3.923 MB / 361.4 MB, free: 4.562 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01009/0.3497, allocations: 11.12 MB / 372.5 MB, free: 12.76 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.578e-05/0.3498, allocations: 0 / 372.5 MB, free: 12.76 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3498, allocations: 0 / 372.5 MB, free: 12.76 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003418/0.3501, allocations: 0 / 372.5 MB, free: 12.76 MB / 330.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.02352/0.3736, allocations: 15.92 MB / 388.4 MB, free: 13.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.3737, allocations: 8.031 kB / 388.4 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02166/0.3953, allocations: 8.257 MB / 396.7 MB, free: 5.977 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00993/0.4053, allocations: 4.025 MB / 400.7 MB, free: 2.188 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005914/0.4058, allocations: 0.803 MB / 401.5 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001924/0.4078, allocations: 1.067 MB / 402.6 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0124/0.4202, allocations: 9.101 MB / 411.7 MB, free: 7.645 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001563/0.4203, allocations: 13.78 kB / 411.7 MB, free: 7.633 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007701/0.4211, allocations: 451.7 kB / 412.1 MB, free: 7.207 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004508/0.4216, allocations: 0.6437 MB / 412.8 MB, free: 6.562 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007068/0.4286, allocations: 4.797 MB / 417.6 MB, free: 1.762 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04381/0.4724, allocations: 34.85 MB / 452.4 MB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008509/0.4809, allocations: 7.088 MB / 459.5 MB, free: 9.027 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001455/0.4824, allocations: 1.286 MB / 460.8 MB, free: 7.766 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002657/0.4827, allocations: 163.2 kB / 461 MB, free: 7.605 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.663e-05/0.4827, allocations: 86.62 kB / 461.1 MB, free: 7.508 MB / 410.7 MB Notification: Performance of pre-optimization done (n=518): time 6.001e-06/0.4827, allocations: 0 / 461.1 MB, free: 7.508 MB / 410.7 MB Notification: Performance of matching and sorting (n=524): time 0.02366/0.5064, allocations: 11.26 MB / 472.3 MB, free: 12.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.199e-05/0.5065, allocations: 103.5 kB / 472.4 MB, free: 12.13 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002971/0.5094, allocations: 2.662 MB / 475.1 MB, free: 10.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002104/0.5097, allocations: 113.7 kB / 475.2 MB, free: 9.902 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001992/0.5116, allocations: 4.271 MB / 479.5 MB, free: 5.762 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009856/0.5126, allocations: 1.847 MB / 481.3 MB, free: 4.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001228/0.5139, allocations: 1.252 MB / 482.6 MB, free: 2.898 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.252e-05/0.5139, allocations: 301.1 kB / 482.9 MB, free: 2.602 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.5151, allocations: 0.9608 MB / 483.8 MB, free: 1.637 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2167/0.7318, allocations: 3.182 MB / 487 MB, free: 99.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00693/0.7387, allocations: 5.136 MB / 492.1 MB, free: 96.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.028e-05/0.7388, allocations: 22.06 kB / 492.2 MB, free: 96.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.007085/0.7459, allocations: 4.658 MB / 496.8 MB, free: 96.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.916e-05/0.7459, allocations: 37.69 kB / 496.8 MB, free: 96.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.505e-05/0.746, allocations: 75.38 kB / 496.9 MB, free: 96.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002088/0.7481, allocations: 1.187 MB / 498.1 MB, free: 96.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003073/0.7512, allocations: 1.682 MB / 499.8 MB, free: 96.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005126/0.7563, allocations: 5.026 MB / 0.493 GB, free: 94.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002206/0.7585, allocations: 252.1 kB / 0.4932 GB, free: 94.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00033/0.7589, allocations: 272.1 kB / 0.4935 GB, free: 94.7 MB / 426.7 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.002582/0.7614, allocations: 0.5687 MB / 0.494 GB, free: 94.58 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000631/0.7621, allocations: 439.5 kB / 0.4945 GB, free: 94.58 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004418/0.7665, allocations: 3.437 MB / 0.4978 GB, free: 94.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002788/0.7693, allocations: 2.211 MB / 0.5 GB, free: 94.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.7693, allocations: 12.42 kB / 0.5 GB, free: 94.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-05/0.7693, allocations: 27.52 kB / 0.5 GB, free: 94.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0116/0.7809, allocations: 9.539 MB / 0.5093 GB, free: 93.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/0.7809, allocations: 3.812 kB / 0.5093 GB, free: 93.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001887/0.7828, allocations: 0.9454 MB / 0.5103 GB, free: 93.26 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/0.7838, allocations: 0.6151 MB / 0.5109 GB, free: 93.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001707/0.7855, allocations: 1.051 MB / 0.5119 GB, free: 93.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001874/0.7857, allocations: 105.3 kB / 0.512 GB, free: 93.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00452/0.7902, allocations: 4.594 MB / 0.5165 GB, free: 91.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.7903, allocations: 3.562 kB / 0.5165 GB, free: 91.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005407/0.7957, allocations: 4.085 MB / 0.5205 GB, free: 91.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004832/0.7961, allocations: 101.4 kB / 0.5206 GB, free: 91.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002123/0.7983, allocations: 131.2 kB / 0.5207 GB, free: 91.16 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009369/0.7992, allocations: 364.2 kB / 0.521 GB, free: 91.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002787/0.7995, allocations: 104.1 kB / 0.5211 GB, free: 91.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002107/0.8016, allocations: 1.218 MB / 0.5223 GB, free: 91.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.8016, allocations: 4.875 kB / 0.5223 GB, free: 91.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01103/0.8126, allocations: 1.918 MB / 0.5242 GB, free: 89.89 MB / 426.7 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.002143/0.8148, allocations: 277.6 kB / 0.5245 GB, free: 89.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009206/0.824, allocations: 3.941 MB / 0.5283 GB, free: 86.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000418/0.8244, allocations: 114.7 kB / 0.5284 GB, free: 86.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005117/0.8295, allocations: 2.601 MB / 0.531 GB, free: 84.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008068/0.8376, allocations: 8.326 MB / 0.5391 GB, free: 75.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08132/0.9189, allocations: 16.3 MB / 0.555 GB, free: 61.69 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005362/0.9243, allocations: 2.175 MB / 0.5571 GB, free: 59.48 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003729/0.928, allocations: 0.8098 MB / 0.5579 GB, free: 58.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002483/0.9305, allocations: 1.057 MB / 0.559 GB, free: 57.6 MB / 426.7 MB Notification: Performance of SimCode: time 3.516e-06/0.9305, allocations: 0 / 0.559 GB, free: 57.6 MB / 426.7 MB Notification: Performance of Templates: time 0.2869/1.217, allocations: 83.01 MB / 0.64 GB, free: 113.3 MB / 442.7 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.368769830092788]