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.0009185/0.0009185, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001262/0.002181, 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.9278/0.9278, allocations: 177.2 MB / 188.2 MB, free: 4.488 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1785/1.106, allocations: 53.64 MB / 241.9 MB, free: 2.723 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.0007731/0.0007731, allocations: 151.7 kB / 242.8 MB, free: 1.859 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001001/0.001774, allocations: 476.2 kB / 243.2 MB, free: 1.41 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.02368/0.02368, allocations: 6.655 MB / 250.6 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005326/0.02901, allocations: 2.666 MB / 253.3 MB, free: 7.547 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 1.683e-06/1.683e-06, allocations: 0 / 254.6 MB, free: 6.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.102e-05/1.27e-05, allocations: 4.562 kB / 254.6 MB, free: 6.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.01915/0.01916, allocations: 25.61 MB / 280.2 MB, free: 12.55 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01643/0.03559, allocations: 8.507 MB / 288.7 MB, free: 4.008 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00504/0.04063, allocations: 234.8 kB / 288.9 MB, free: 3.777 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0111/0.05173, allocations: 9.896 MB / 298.8 MB, free: 9.836 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009013/0.06074, allocations: 3.445 MB / 302.3 MB, free: 6.371 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00354/0.06428, allocations: 1.822 MB / 304.1 MB, free: 4.547 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01279/0.07707, allocations: 12.87 MB / 316.9 MB, free: 7.637 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1779/0.2549, allocations: 15.91 MB / 332.9 MB, free: 8.039 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01348/0.2684, allocations: 10.15 MB / 343 MB, free: 7.957 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008644/0.2771, allocations: 7.213 MB / 350.2 MB, free: 7.957 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004176/0.2812, allocations: 1.832 MB / 352 MB, free: 7.957 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005568/0.2868, allocations: 2.241 MB / 354.3 MB, free: 7.957 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002723/0.2895, allocations: 2.978 MB / 357.3 MB, free: 7.957 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004366/0.2939, allocations: 3.924 MB / 361.2 MB, free: 4.82 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009887/0.3038, allocations: 11.14 MB / 372.3 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.318e-05/0.3038, allocations: 0 / 372.3 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3038, allocations: 0 / 372.3 MB, free: 12.96 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004532/0.3043, allocations: 0.6875 kB / 372.3 MB, free: 12.96 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.02545/0.3297, allocations: 15.93 MB / 388.3 MB, free: 14.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.3297, allocations: 12.03 kB / 388.3 MB, free: 14.15 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02163/0.3514, allocations: 8.254 MB / 396.5 MB, free: 6.227 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009142/0.3605, allocations: 4.032 MB / 400.6 MB, free: 2.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005004/0.361, allocations: 0.7997 MB / 401.4 MB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00164/0.3627, allocations: 1.064 MB / 402.4 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01492/0.3776, allocations: 9.107 MB / 411.5 MB, free: 7.883 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001873/0.3778, allocations: 19.72 kB / 411.5 MB, free: 7.867 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008013/0.3786, allocations: 446.2 kB / 412 MB, free: 7.445 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000489/0.379, allocations: 0.6672 MB / 412.7 MB, free: 6.777 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008046/0.3871, allocations: 4.792 MB / 417.4 MB, free: 1.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04597/0.4331, allocations: 34.86 MB / 452.3 MB, free: 200 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008829/0.4419, allocations: 7.082 MB / 459.4 MB, free: 9.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001456/0.4434, allocations: 1.287 MB / 460.7 MB, free: 7.984 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002627/0.4436, allocations: 163.5 kB / 460.8 MB, free: 7.824 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.51e-05/0.4437, allocations: 94.61 kB / 460.9 MB, free: 7.719 MB / 410.7 MB Notification: Performance of pre-optimization done (n=518): time 6.292e-06/0.4437, allocations: 0 / 460.9 MB, free: 7.719 MB / 410.7 MB Notification: Performance of matching and sorting (n=524): time 0.01831/0.462, allocations: 9.47 MB / 470.4 MB, free: 14.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.4621, allocations: 107.5 kB / 470.5 MB, free: 14.06 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002482/0.4645, allocations: 2.658 MB / 473.2 MB, free: 11.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000202/0.4647, allocations: 109.7 kB / 473.3 MB, free: 11.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001797/0.4665, allocations: 4.281 MB / 477.5 MB, free: 7.691 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001404/0.4679, allocations: 1.843 MB / 479.4 MB, free: 5.953 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001213/0.4692, allocations: 1.252 MB / 480.6 MB, free: 4.832 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.53e-05/0.4692, allocations: 305.1 kB / 480.9 MB, free: 4.531 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.4705, allocations: 0.9569 MB / 481.9 MB, free: 3.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1572/0.6276, allocations: 3.187 MB / 485.1 MB, free: 98.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006496/0.6341, allocations: 4.856 MB / 489.9 MB, free: 95.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.447e-05/0.6342, allocations: 22.38 kB / 490 MB, free: 95.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.007705/0.6419, allocations: 4.652 MB / 494.6 MB, free: 95.08 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.075e-05/0.642, allocations: 37.22 kB / 494.7 MB, free: 95.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-05/0.6421, allocations: 78.38 kB / 494.7 MB, free: 95.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002068/0.6441, allocations: 1.183 MB / 495.9 MB, free: 95.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003185/0.6473, allocations: 1.683 MB / 497.6 MB, free: 95.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005111/0.6524, allocations: 5.074 MB / 0.4909 GB, free: 93.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002932/0.6554, allocations: 255.8 kB / 0.4911 GB, free: 93.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006444/0.656, allocations: 270.6 kB / 0.4914 GB, free: 93.61 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.002737/0.6587, allocations: 0.5647 MB / 0.4919 GB, free: 93.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009891/0.6597, allocations: 440.2 kB / 0.4924 GB, free: 93.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004803/0.6645, allocations: 3.44 MB / 0.4957 GB, free: 93.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003022/0.6675, allocations: 2.206 MB / 0.4979 GB, free: 92.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-05/0.6676, allocations: 12.78 kB / 0.4979 GB, free: 92.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-05/0.6676, allocations: 25.97 kB / 0.4979 GB, free: 92.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01654/0.6842, allocations: 9.546 MB / 0.5072 GB, free: 92.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/0.6842, allocations: 7.625 kB / 0.5072 GB, free: 92.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002143/0.6863, allocations: 0.9406 MB / 0.5082 GB, free: 92.17 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002068/0.6884, allocations: 0.6126 MB / 0.5088 GB, free: 92.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001874/0.6903, allocations: 1.047 MB / 0.5098 GB, free: 92.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002101/0.6905, allocations: 100.9 kB / 0.5099 GB, free: 92.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004615/0.6951, allocations: 4.638 MB / 0.5144 GB, free: 90.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.6951, allocations: 13.3 kB / 0.5144 GB, free: 90.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005451/0.7005, allocations: 4.066 MB / 0.5184 GB, free: 90.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008571/0.7014, allocations: 91.03 kB / 0.5185 GB, free: 90.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/0.7026, allocations: 141.4 kB / 0.5186 GB, free: 90.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006414/0.7033, allocations: 360.3 kB / 0.519 GB, free: 90.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002506/0.7035, allocations: 108.3 kB / 0.5191 GB, free: 90.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001686/0.7052, allocations: 1.219 MB / 0.5202 GB, free: 89.96 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.7052, allocations: 0 / 0.5202 GB, free: 89.96 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006022/0.7112, allocations: 1.917 MB / 0.5221 GB, free: 89.6 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.0007594/0.712, allocations: 283.9 kB / 0.5224 GB, free: 89.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005663/0.7177, allocations: 3.831 MB / 0.5261 GB, free: 86.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002546/0.7179, allocations: 122.2 kB / 0.5262 GB, free: 86.44 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00252/0.7204, allocations: 2.02 MB / 0.5282 GB, free: 84.99 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004118/0.7246, allocations: 1.426 MB / 0.5296 GB, free: 84.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06667/0.7912, allocations: 16.31 MB / 0.5455 GB, free: 70.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003672/0.7949, allocations: 2.179 MB / 0.5477 GB, free: 68.38 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002772/0.7977, allocations: 0.8059 MB / 0.5485 GB, free: 67.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001827/0.7995, allocations: 1.064 MB / 0.5495 GB, free: 66.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.553e-06/0.7995, allocations: 0 / 0.5495 GB, free: 66.5 MB / 426.7 MB Notification: Performance of Templates: time 0.2192/1.019, allocations: 81.28 MB / 0.6289 GB, free: 120.7 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.009736416861415]