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.001157/0.001157, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001804/0.002961, allocations: 435.8 kB / 10.33 MB, free: 368 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 0.9652/0.9652, allocations: 177.2 MB / 188.2 MB, free: 4.488 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.178/1.143, allocations: 53.64 MB / 241.9 MB, free: 2.746 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.001613/0.001613, allocations: 149.2 kB / 242.8 MB, free: 1.883 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001776/0.003389, allocations: 480.3 kB / 243.2 MB, free: 1.43 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.0255/0.0255, allocations: 6.651 MB / 250.6 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004381/0.02988, allocations: 2.659 MB / 253.3 MB, free: 7.574 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.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 1.753e-06/1.753e-06, allocations: 0 / 254.6 MB, free: 6.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.721e-05, allocations: 4.562 kB / 254.6 MB, free: 6.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_withLosses): time 0.02165/0.02168, allocations: 23.64 MB / 278.2 MB, free: 14.54 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01562/0.0373, allocations: 8.537 MB / 286.7 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003293/0.04059, allocations: 210.9 kB / 287 MB, free: 5.766 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008756/0.04935, allocations: 8.885 MB / 295.8 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006146/0.05549, allocations: 3.134 MB / 299 MB, free: 9.684 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002702/0.0582, allocations: 1.825 MB / 300.8 MB, free: 7.859 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.009692/0.06789, allocations: 11.78 MB / 312.6 MB, free: 12.05 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1737/0.2416, allocations: 14.57 MB / 327.1 MB, free: 12.05 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01371/0.2553, allocations: 9.38 MB / 336.5 MB, free: 11.98 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007585/0.2629, allocations: 6.48 MB / 343 MB, free: 11.98 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001889/0.2647, allocations: 1.713 MB / 344.7 MB, free: 11.98 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002608/0.2673, allocations: 2.168 MB / 346.9 MB, free: 11.98 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001567/0.2689, allocations: 2.83 MB / 349.7 MB, free: 11.98 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003185/0.2721, allocations: 3.583 MB / 353.3 MB, free: 11.98 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007674/0.2798, allocations: 10.3 MB / 363.6 MB, free: 5.668 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.512e-05/0.2798, allocations: 0.5625 kB / 363.6 MB, free: 5.668 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2798, allocations: 4 kB / 363.6 MB, free: 5.664 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001769/0.28, allocations: 1.219 kB / 363.6 MB, free: 5.664 MB / 314.7 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.01936/0.2993, allocations: 14.64 MB / 378.2 MB, free: 8.777 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.2994, allocations: 8.031 kB / 378.2 MB, free: 8.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01617/0.3155, allocations: 6.377 MB / 384.6 MB, free: 2.645 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006618/0.3222, allocations: 3.838 MB / 388.5 MB, free: 15.03 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003385/0.3225, allocations: 0.7166 MB / 389.2 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001228/0.3237, allocations: 0.9493 MB / 390.1 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01083/0.3346, allocations: 7.967 MB / 398.1 MB, free: 5.766 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001574/0.3347, allocations: 15.56 kB / 398.1 MB, free: 5.754 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006887/0.3354, allocations: 400.7 kB / 398.5 MB, free: 5.375 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004015/0.3358, allocations: 0.5708 MB / 399.1 MB, free: 4.801 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006647/0.3424, allocations: 4.074 MB / 403.1 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03751/0.38, allocations: 31.18 MB / 434.3 MB, free: 2.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005648/0.3856, allocations: 4.748 MB / 439.1 MB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001296/0.3869, allocations: 1.171 MB / 440.2 MB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000245/0.3871, allocations: 149.7 kB / 440.4 MB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.113e-05/0.3872, allocations: 81.44 kB / 440.5 MB, free: 12.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=447): time 5.38e-06/0.3872, allocations: 0 / 440.5 MB, free: 12.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=452): time 0.01913/0.4063, allocations: 9.81 MB / 450.3 MB, free: 2.809 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.4064, allocations: 98.95 kB / 450.4 MB, free: 2.699 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003086/0.4095, allocations: 3.314 MB / 453.7 MB, free: 15.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000184/0.4097, allocations: 93.7 kB / 453.8 MB, free: 15.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001712/0.4114, allocations: 3.87 MB / 457.7 MB, free: 12.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008052/0.4122, allocations: 1.594 MB / 459.3 MB, free: 10.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001053/0.4132, allocations: 1.108 MB / 460.4 MB, free: 9.621 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.743e-05/0.4133, allocations: 305.1 kB / 460.7 MB, free: 9.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.4143, allocations: 0.8484 MB / 461.5 MB, free: 8.465 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001955/0.4163, allocations: 2.814 MB / 464.3 MB, free: 4.855 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003309/0.4196, allocations: 4.31 MB / 468.6 MB, free: 4 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.502e-05/0.4196, allocations: 20.05 kB / 468.6 MB, free: 15.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.005142/0.4248, allocations: 4.188 MB / 472.8 MB, free: 12.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.753e-05/0.4248, allocations: 39.94 kB / 472.9 MB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.818e-05/0.4249, allocations: 72.28 kB / 472.9 MB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002021/0.4269, allocations: 1.177 MB / 474.1 MB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002682/0.4296, allocations: 1.451 MB / 475.6 MB, free: 9.637 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006331/0.4359, allocations: 6.467 MB / 482 MB, free: 3.176 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/0.4377, allocations: 227.8 kB / 482.3 MB, free: 2.953 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003164/0.4381, allocations: 236 kB / 482.5 MB, free: 2.723 MB / 426.7 MB 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.002856/0.4409, allocations: 0.5053 MB / 483 MB, free: 2.301 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006878/0.4416, allocations: 403.6 kB / 483.4 MB, free: 1.906 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1738/0.6154, allocations: 4.184 MB / 487.6 MB, free: 104.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003385/0.6188, allocations: 1.986 MB / 489.6 MB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.671e-05/0.6188, allocations: 11.91 kB / 489.6 MB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.169e-05/0.6189, allocations: 23.05 kB / 489.6 MB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01301/0.6319, allocations: 8.757 MB / 498.4 MB, free: 103.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/0.6319, allocations: 12.62 kB / 498.4 MB, free: 103.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001759/0.6336, allocations: 0.8028 MB / 499.2 MB, free: 103.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001448/0.6351, allocations: 0.5707 MB / 499.7 MB, free: 103.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001898/0.637, allocations: 1.063 MB / 0.4891 GB, free: 103.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001712/0.6372, allocations: 100.5 kB / 0.4892 GB, free: 103.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005317/0.6425, allocations: 6.077 MB / 0.4951 GB, free: 100.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.19e-05/0.6425, allocations: 17.22 kB / 0.4951 GB, free: 100.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005213/0.6477, allocations: 3.924 MB / 0.4989 GB, free: 100 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005144/0.6482, allocations: 91.69 kB / 0.499 GB, free: 100 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.6492, allocations: 112.6 kB / 0.4991 GB, free: 100 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004237/0.6496, allocations: 344 kB / 0.4995 GB, free: 100 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001994/0.6498, allocations: 102 kB / 0.4996 GB, free: 100 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001646/0.6515, allocations: 1.593 MB / 0.5011 GB, free: 99.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6515, allocations: 0 / 0.5011 GB, free: 99.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003731/0.6552, allocations: 1.701 MB / 0.5028 GB, free: 99.93 MB / 426.7 MB 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.001465/0.6567, allocations: 0.6659 MB / 0.5034 GB, free: 99.86 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004098/0.6608, allocations: 3.638 MB / 0.507 GB, free: 99.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001529/0.6609, allocations: 114.5 kB / 0.5071 GB, free: 99.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001991/0.6629, allocations: 2.019 MB / 0.5091 GB, free: 99 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002225/0.6652, allocations: 1.315 MB / 0.5104 GB, free: 98.94 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05549/0.7206, allocations: 15.14 MB / 0.5251 GB, free: 90.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00199/0.7226, allocations: 1.991 MB / 0.5271 GB, free: 89.24 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002314/0.725, allocations: 0.7303 MB / 0.5278 GB, free: 88.67 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001565/0.7265, allocations: 0.9337 MB / 0.5287 GB, free: 87.88 MB / 426.7 MB Notification: Performance of SimCode: time 1.242e-06/0.7265, allocations: 0 / 0.5287 GB, free: 87.88 MB / 426.7 MB Notification: Performance of Templates: time 0.08231/0.8088, allocations: 73.88 MB / 0.6009 GB, free: 18.43 MB / 426.7 MB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.2272197138518095]