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.001582/0.001582, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.613/1.613, allocations: 177.1 MB / 199.7 MB, free: 5.816 MB / 186.7 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.001888/0.001888, allocations: 156.6 kB / 256.3 MB, free: 13.17 MB / 250.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.03758/0.03758, allocations: 6.662 MB / 319.4 MB, free: 26.57 MB / 266.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.464e-06/2.464e-06, allocations: 0 / 390.9 MB, free: 2.957 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.764e-05/4.011e-05, allocations: 6.312 kB / 390.9 MB, free: 2.949 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_withLosses): time 0.2462/0.2462, allocations: 21.53 MB / 412.5 MB, free: 68.91 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02035/0.2665, allocations: 7.933 MB / 420.4 MB, free: 67.77 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007321/0.2739, allocations: 213.8 kB / 420.6 MB, free: 67.77 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02122/0.2951, allocations: 8.269 MB / 428.9 MB, free: 64.69 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01433/0.3094, allocations: 3.141 MB / 432 MB, free: 62.24 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007721/0.3171, allocations: 1.821 MB / 433.8 MB, free: 60.81 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01737/0.3345, allocations: 11.69 MB / 445.5 MB, free: 52.09 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03093/0.3654, allocations: 14.51 MB / 460 MB, free: 37.44 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02212/0.3876, allocations: 8.905 MB / 468.9 MB, free: 28.52 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01134/0.3989, allocations: 5.63 MB / 474.6 MB, free: 22.88 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00607/0.405, allocations: 1.715 MB / 476.3 MB, free: 21.17 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009034/0.414, allocations: 2.155 MB / 478.4 MB, free: 19.01 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00604/0.42, allocations: 3.468 MB / 481.9 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0125/0.4325, allocations: 4.23 MB / 486.1 MB, free: 11.3 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0385/0.471, allocations: 23.51 MB / 0.4977 GB, free: 3.723 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.4711, allocations: 0 / 0.4977 GB, free: 3.723 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4711, allocations: 0 / 0.4977 GB, free: 3.723 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0007687/0.4718, allocations: 0 / 0.4977 GB, free: 3.723 MB / 346.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.0544/0.5262, allocations: 13.47 MB / 0.5109 GB, free: 6.152 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/0.5263, allocations: 12.03 kB / 0.5109 GB, free: 6.141 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04505/0.5713, allocations: 7.832 MB / 0.5185 GB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02324/0.5946, allocations: 7.675 MB / 0.526 GB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001344/0.5959, allocations: 0.7224 MB / 0.5267 GB, free: 5.812 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006224/0.6021, allocations: 0.9452 MB / 0.5276 GB, free: 4.867 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05744/0.6596, allocations: 16.32 MB / 0.5436 GB, free: 4.453 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006253/0.6602, allocations: 19.91 kB / 0.5436 GB, free: 4.434 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005048/0.6653, allocations: 396 kB / 0.544 GB, free: 4.047 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009709/0.6662, allocations: 0.5591 MB / 0.5445 GB, free: 3.484 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.386/1.052, allocations: 15.07 MB / 0.5592 GB, free: 110.4 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09603/1.148, allocations: 46.67 MB / 0.6048 GB, free: 73.3 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01576/1.164, allocations: 8.582 MB / 0.6132 GB, free: 65.51 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006569/1.171, allocations: 3.316 MB / 0.6164 GB, free: 62.2 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008192/1.171, allocations: 143.4 kB / 0.6166 GB, free: 62.06 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001023/1.172, allocations: 78.06 kB / 0.6166 GB, free: 61.97 MB / 394.8 MB Notification: Performance of pre-optimization done (n=447): time 1.073e-05/1.172, allocations: 0 / 0.6166 GB, free: 61.97 MB / 394.8 MB Notification: Performance of matching and sorting (n=452): time 0.05957/1.231, allocations: 20.59 MB / 0.6367 GB, free: 41.75 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.793e-05/1.231, allocations: 98.95 kB / 0.6368 GB, free: 41.64 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009207/1.24, allocations: 4.421 MB / 0.6412 GB, free: 37.33 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001058/1.241, allocations: 97.7 kB / 0.6412 GB, free: 37.23 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003031/1.244, allocations: 4.338 MB / 0.6455 GB, free: 33.09 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00209/1.247, allocations: 1.591 MB / 0.647 GB, free: 31.52 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004288/1.251, allocations: 1.196 MB / 0.6482 GB, free: 30.31 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 5.11e-05/1.251, allocations: 305.1 kB / 0.6485 GB, free: 30.01 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005459/1.256, allocations: 3.069 MB / 0.6515 GB, free: 26.94 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007215/1.264, allocations: 5.235 MB / 0.6566 GB, free: 20.72 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01262/1.276, allocations: 8.876 MB / 0.6653 GB, free: 10.88 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-05/1.276, allocations: 20 kB / 0.6653 GB, free: 10.86 MB / 394.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02294/1.299, allocations: 10.11 MB / 0.6752 GB, free: 0.7266 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001347/1.299, allocations: 40 kB / 0.6752 GB, free: 0.6875 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001747/1.3, allocations: 68 kB / 0.6753 GB, free: 0.6211 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005888/1.305, allocations: 1.586 MB / 0.6768 GB, free: 15.03 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006744/1.312, allocations: 1.4 MB / 0.6782 GB, free: 13.62 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02558/1.338, allocations: 12.12 MB / 0.69 GB, free: 1.316 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005454/1.343, allocations: 351.6 kB / 0.6904 GB, free: 0.9727 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001592/1.345, allocations: 300 kB / 0.6906 GB, free: 0.6797 MB / 410.8 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.01028/1.355, allocations: 3.888 MB / 0.6944 GB, free: 12.78 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002688/1.358, allocations: 0.5986 MB / 0.695 GB, free: 12.18 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02372/1.381, allocations: 8.443 MB / 0.7033 GB, free: 3.684 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2007/1.582, allocations: 6.201 MB / 0.7093 GB, free: 128.7 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-05/1.582, allocations: 11.69 kB / 0.7093 GB, free: 128.7 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001423/1.582, allocations: 23.66 kB / 0.7094 GB, free: 128.7 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0389/1.621, allocations: 14.97 MB / 0.724 GB, free: 123.7 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.394e-05/1.621, allocations: 10 kB / 0.724 GB, free: 123.7 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003904/1.625, allocations: 0.8144 MB / 0.7248 GB, free: 123.6 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005109/1.63, allocations: 1.456 MB / 0.7262 GB, free: 123.3 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001121/1.632, allocations: 105.3 kB / 0.7263 GB, free: 123.3 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01589/1.647, allocations: 11.03 MB / 0.7371 GB, free: 116.9 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.305e-05/1.647, allocations: 16.19 kB / 0.7371 GB, free: 116.9 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02283/1.67, allocations: 11.3 MB / 0.7481 GB, free: 112.1 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003949/1.674, allocations: 1.045 MB / 0.7492 GB, free: 111.8 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001924/1.676, allocations: 89.31 kB / 0.7492 GB, free: 111.7 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004156/1.68, allocations: 232.5 kB / 0.7495 GB, free: 111.7 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001581/1.682, allocations: 349.2 kB / 0.7498 GB, free: 111.6 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000942/1.683, allocations: 143.3 kB / 0.7499 GB, free: 111.4 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.006021/1.689, allocations: 2.946 MB / 0.7528 GB, free: 109 MB / 426.8 MB Notification: Performance of sort global known variables: time 2e-07/1.689, allocations: 4 kB / 0.7528 GB, free: 109 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.009062/1.698, allocations: 1.722 MB / 0.7545 GB, free: 107.3 MB / 426.8 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.002975/1.701, allocations: 0.5563 MB / 0.755 GB, free: 107 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.01417/1.715, allocations: 7.668 MB / 0.7625 GB, free: 100.4 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 3.511e-05/1.715, allocations: 0 / 0.7625 GB, free: 100.4 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008319/1.723, allocations: 3.677 MB / 0.7661 GB, free: 96.95 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008777/1.732, allocations: 0.9839 MB / 0.7671 GB, free: 96.03 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03872/1.771, allocations: 18.47 MB / 0.7851 GB, free: 77.41 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01301/1.784, allocations: 6.071 MB / 0.791 GB, free: 71.3 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.007467/1.791, allocations: 2.082 MB / 0.7931 GB, free: 69.21 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00255/1.794, allocations: 392.4 kB / 0.7935 GB, free: 68.83 MB / 426.8 MB Notification: Performance of SimCode: time 2.485e-06/1.794, allocations: 0 / 0.7935 GB, free: 68.83 MB / 426.8 MB Notification: Performance of Templates: time 0.1097/1.904, allocations: 66.4 MB / 0.8583 GB, free: 3.074 MB / 426.8 MB " [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: 10.883551609935239]