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.0007303/0.0007303, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009654/0.001696, 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.15/1.15, allocations: 177.2 MB / 188.4 MB, free: 4.422 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2439/1.394, allocations: 53.66 MB / 242 MB, free: 2.621 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.001638/0.001638, allocations: 143.6 kB / 242.9 MB, free: 1.742 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002284/0.003921, allocations: 488.2 kB / 243.4 MB, free: 1.277 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.02831/0.02831, allocations: 6.646 MB / 250.8 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00743/0.03574, allocations: 2.672 MB / 253.5 MB, free: 7.418 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 2.124e-06/2.124e-06, allocations: 0 / 254.8 MB, free: 6.105 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.09e-05/2.302e-05, allocations: 6.25 kB / 254.8 MB, free: 6.098 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_withLosses): time 0.02671/0.02673, allocations: 23.64 MB / 278.4 MB, free: 14.35 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01867/0.0454, allocations: 8.529 MB / 286.9 MB, free: 5.793 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003812/0.04921, allocations: 214.9 kB / 287.2 MB, free: 5.582 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01049/0.05971, allocations: 8.889 MB / 296 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007865/0.06757, allocations: 3.134 MB / 299.2 MB, free: 9.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00698/0.07455, allocations: 1.843 MB / 301 MB, free: 7.656 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.02331/0.09787, allocations: 11.77 MB / 312.8 MB, free: 11.85 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2286/0.3264, allocations: 14.58 MB / 327.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01527/0.3417, allocations: 9.37 MB / 336.7 MB, free: 12.07 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009598/0.3513, allocations: 6.479 MB / 343.2 MB, free: 12.07 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004216/0.3555, allocations: 1.713 MB / 344.9 MB, free: 12.07 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004291/0.3598, allocations: 2.166 MB / 347.1 MB, free: 12.07 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002002/0.3618, allocations: 2.838 MB / 349.9 MB, free: 12.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004505/0.3663, allocations: 3.584 MB / 353.5 MB, free: 12.07 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009622/0.3759, allocations: 10.27 MB / 363.8 MB, free: 5.578 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.541e-05/0.376, allocations: 0 / 363.8 MB, free: 5.578 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.376, allocations: 0.5625 kB / 363.8 MB, free: 5.578 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003572/0.3763, allocations: 0 / 363.8 MB, free: 5.578 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.02144/0.3978, allocations: 14.63 MB / 378.4 MB, free: 8.598 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3978, allocations: 12.03 kB / 378.4 MB, free: 8.586 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01679/0.4146, allocations: 6.361 MB / 384.8 MB, free: 2.477 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008265/0.4229, allocations: 3.844 MB / 388.6 MB, free: 14.85 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000405/0.4233, allocations: 0.7177 MB / 389.4 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001352/0.4246, allocations: 0.9485 MB / 390.3 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01127/0.4359, allocations: 7.961 MB / 398.3 MB, free: 5.598 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001498/0.436, allocations: 15.81 kB / 398.3 MB, free: 5.586 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006964/0.4367, allocations: 404.9 kB / 398.7 MB, free: 5.199 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004126/0.4371, allocations: 0.5435 MB / 399.2 MB, free: 4.652 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006994/0.4441, allocations: 4.079 MB / 403.3 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04231/0.4864, allocations: 31.19 MB / 434.5 MB, free: 2.371 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00788/0.4943, allocations: 4.748 MB / 439.2 MB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002747/0.4971, allocations: 1.174 MB / 440.4 MB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003951/0.4975, allocations: 135.4 kB / 440.5 MB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.423e-05/0.4976, allocations: 82.06 kB / 440.6 MB, free: 12.38 MB / 394.7 MB Notification: Performance of pre-optimization done (n=447): time 7.394e-06/0.4976, allocations: 0 / 440.6 MB, free: 12.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=452): time 0.03093/0.5285, allocations: 11.39 MB / 452 MB, free: 1.168 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.842e-05/0.5286, allocations: 98.95 kB / 452.1 MB, free: 1.059 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005324/0.5339, allocations: 3.303 MB / 455.4 MB, free: 14.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0011/0.535, allocations: 97.7 kB / 455.5 MB, free: 14.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002109/0.5371, allocations: 3.868 MB / 459.4 MB, free: 10.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002567/0.5397, allocations: 1.594 MB / 461 MB, free: 8.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002306/0.542, allocations: 1.102 MB / 462.1 MB, free: 7.988 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5421, allocations: 309.1 kB / 462.4 MB, free: 7.684 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002198/0.5443, allocations: 0.8445 MB / 463.2 MB, free: 6.832 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003006/0.5473, allocations: 2.827 MB / 466 MB, free: 3.215 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00597/0.5533, allocations: 4.554 MB / 470.6 MB, free: 14.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.321e-05/0.5533, allocations: 23.47 kB / 470.6 MB, free: 14.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.007652/0.561, allocations: 4.193 MB / 474.8 MB, free: 10.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.145e-05/0.5611, allocations: 38.5 kB / 474.8 MB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000109/0.5612, allocations: 71.94 kB / 474.9 MB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002645/0.5638, allocations: 1.174 MB / 476.1 MB, free: 9.086 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004095/0.5679, allocations: 1.454 MB / 477.5 MB, free: 7.727 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007673/0.5756, allocations: 6.416 MB / 484 MB, free: 1.305 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003809/0.5794, allocations: 223.7 kB / 484.2 MB, free: 1.086 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001112/0.5805, allocations: 240 kB / 484.4 MB, free: 0.8516 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.003367/0.5839, allocations: 0.4999 MB / 484.9 MB, free: 444 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009732/0.5848, allocations: 411.6 kB / 485.3 MB, free: 32 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2485/0.8333, allocations: 4.187 MB / 489.5 MB, free: 104.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003821/0.8371, allocations: 1.975 MB / 491.5 MB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.489e-05/0.8372, allocations: 19.5 kB / 491.5 MB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.179e-05/0.8372, allocations: 19.17 kB / 491.5 MB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0214/0.8586, allocations: 8.749 MB / 0.4885 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.33e-05/0.8586, allocations: 8.625 kB / 0.4885 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002208/0.8608, allocations: 0.8101 MB / 0.4893 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002396/0.8632, allocations: 0.5694 MB / 0.4899 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002602/0.8658, allocations: 1.068 MB / 0.4909 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003182/0.8661, allocations: 101.7 kB / 0.491 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007064/0.8732, allocations: 6.053 MB / 0.4969 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.02e-05/0.8732, allocations: 12.19 kB / 0.497 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007247/0.8805, allocations: 3.934 MB / 0.5008 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001106/0.8816, allocations: 89.77 kB / 0.5009 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001676/0.8833, allocations: 114.2 kB / 0.501 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007/0.884, allocations: 340.5 kB / 0.5013 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002326/0.8842, allocations: 101.2 kB / 0.5014 GB, free: 100.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002701/0.8869, allocations: 1.593 MB / 0.503 GB, free: 100 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.8869, allocations: 4.234 kB / 0.503 GB, free: 100 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006723/0.8936, allocations: 1.707 MB / 0.5046 GB, free: 100 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.002127/0.8957, allocations: 0.6591 MB / 0.5053 GB, free: 99.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00866/0.9044, allocations: 3.729 MB / 0.5089 GB, free: 99.44 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0004504/0.9049, allocations: 118.2 kB / 0.509 GB, free: 99.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00478/0.9096, allocations: 2.567 MB / 0.5115 GB, free: 99.01 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006938/0.9166, allocations: 7.479 MB / 0.5189 GB, free: 92.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07867/0.9952, allocations: 15.14 MB / 0.5336 GB, free: 82.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00315/0.9984, allocations: 1.985 MB / 0.5356 GB, free: 81.07 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002653/1.001, allocations: 0.7316 MB / 0.5363 GB, free: 80.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001676/1.003, allocations: 0.9362 MB / 0.5372 GB, free: 79.7 MB / 426.7 MB Notification: Performance of SimCode: time 2.014e-06/1.003, allocations: 0 / 0.5372 GB, free: 79.7 MB / 426.7 MB Notification: Performance of Templates: time 0.09251/1.095, allocations: 75.51 MB / 0.6109 GB, free: 7.641 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.671307994052768]