Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.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.001009/0.001009, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001455/0.002464, 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.118/1.118, allocations: 177.2 MB / 188.4 MB, free: 4.422 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2316/1.349, allocations: 53.67 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.001545/0.001545, allocations: 147.7 kB / 242.9 MB, free: 1.75 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001892/0.003437, allocations: 487.2 kB / 243.4 MB, free: 1.289 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.02634/0.02634, allocations: 6.649 MB / 250.8 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007036/0.03338, 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_Inverter2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=35000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2") translateModel(HanserModelica.InductionMachines.IMC_Inverter2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=35000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 254.8 MB, free: 6.098 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.016e-05/3.228e-05, allocations: 2.312 kB / 254.8 MB, free: 6.094 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.01752/0.01755, allocations: 13.34 MB / 268.1 MB, free: 8.688 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01248/0.03003, allocations: 4.717 MB / 272.8 MB, free: 3.953 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004127/0.03416, allocations: 115.3 kB / 273 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00429/0.03845, allocations: 1.068 MB / 274 MB, free: 2.766 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006462/0.04491, allocations: 1.339 MB / 275.4 MB, free: 1.418 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003097/0.04801, allocations: 0.8911 MB / 276.2 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007201/0.05521, allocations: 4.312 MB / 280.6 MB, free: 12.2 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003404/0.05861, allocations: 1.949 MB / 282.5 MB, free: 10.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006591/0.0652, allocations: 3.186 MB / 285.7 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004195/0.0694, allocations: 2.007 MB / 287.7 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001327/0.07072, allocations: 0.5195 MB / 288.2 MB, free: 4.426 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0023/0.07302, allocations: 0.7418 MB / 289 MB, free: 3.684 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001318/0.07434, allocations: 0.9585 MB / 289.9 MB, free: 2.723 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002463/0.07681, allocations: 1.26 MB / 291.2 MB, free: 1.461 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00582/0.08262, allocations: 3.357 MB / 294.5 MB, free: 14.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.001e-05/0.08264, allocations: 0 / 294.5 MB, free: 14.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.607e-06/0.08265, allocations: 0 / 294.5 MB, free: 14.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001904/0.08284, allocations: 0 / 294.5 MB, free: 14.09 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 880 * Number of variables: 880 Notification: Performance of Generate backend data structure: time 0.009956/0.09279, allocations: 5.15 MB / 299.7 MB, free: 8.871 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.09284, allocations: 8.031 kB / 299.7 MB, free: 8.863 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003162/0.09601, allocations: 1.128 MB / 300.8 MB, free: 7.734 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003918/0.09992, allocations: 1.49 MB / 302.3 MB, free: 6.188 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001863/0.1001, allocations: 251.1 kB / 302.6 MB, free: 5.941 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007245/0.1008, allocations: 332.3 kB / 302.9 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005615/0.1064, allocations: 2.543 MB / 305.4 MB, free: 2.992 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.038e-05/0.1065, allocations: 3.953 kB / 305.4 MB, free: 2.988 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000308/0.1068, allocations: 136 kB / 305.6 MB, free: 2.855 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001501/0.107, allocations: 154.7 kB / 305.7 MB, free: 2.703 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00212/0.1091, allocations: 0.9807 MB / 306.7 MB, free: 1.711 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01507/0.1242, allocations: 9.066 MB / 315.8 MB, free: 8.266 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002244/0.1264, allocations: 1.548 MB / 317.3 MB, free: 6.711 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/0.1275, allocations: 0.5095 MB / 317.8 MB, free: 6.195 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001722/0.1277, allocations: 65.25 kB / 317.9 MB, free: 6.129 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.5e-05/0.1277, allocations: 51.88 kB / 317.9 MB, free: 6.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=157): time 5.771e-06/0.1277, allocations: 4 kB / 317.9 MB, free: 6.066 MB / 314.7 MB Notification: Performance of matching and sorting (n=160): time 0.006751/0.1345, allocations: 2.968 MB / 320.9 MB, free: 3.059 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.1345, allocations: 68.66 kB / 321 MB, free: 2.977 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.1358, allocations: 1.092 MB / 322.1 MB, free: 1.871 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.007e-05/0.1359, allocations: 49.7 kB / 322.1 MB, free: 1.816 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006931/0.1365, allocations: 1.284 MB / 323.4 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003817/0.1369, allocations: 0.5653 MB / 324 MB, free: 15.95 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003358/0.1373, allocations: 319.3 kB / 324.3 MB, free: 15.63 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.928e-05/0.1374, allocations: 301.1 kB / 324.6 MB, free: 15.33 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003093/0.1377, allocations: 206.7 kB / 324.8 MB, free: 15.13 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009382/0.1386, allocations: 0.7073 MB / 325.5 MB, free: 14.2 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.1397, allocations: 1.132 MB / 326.6 MB, free: 12.87 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/0.1398, allocations: 4 kB / 326.6 MB, free: 12.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=238) (initialization): time 0.001807/0.1416, allocations: 1.084 MB / 327.7 MB, free: 11.76 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.825e-05/0.1416, allocations: 12 kB / 327.7 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.203e-05/0.1416, allocations: 19.98 kB / 327.7 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003534/0.142, allocations: 106.8 kB / 327.8 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/0.1437, allocations: 0.5149 MB / 328.3 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00254/0.1462, allocations: 2.818 MB / 331.2 MB, free: 8.098 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/0.1478, allocations: 67.94 kB / 331.2 MB, free: 8.031 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001732/0.1479, allocations: 56 kB / 331.3 MB, free: 7.977 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (231): * Single equations (assignments): 228 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001196/0.1491, allocations: 232.2 kB / 331.5 MB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006401/0.1498, allocations: 171.7 kB / 331.7 MB, free: 7.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002271/0.1521, allocations: 1.039 MB / 332.7 MB, free: 6.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/0.1521, allocations: 16 kB / 332.7 MB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.792e-05/0.1521, allocations: 4 kB / 332.7 MB, free: 6.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/0.1521, allocations: 11.97 kB / 332.8 MB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005787/0.1579, allocations: 2.599 MB / 335.4 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.1579, allocations: 352 / 335.4 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006024/0.1585, allocations: 260.5 kB / 335.6 MB, free: 3.527 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006192/0.1591, allocations: 198.7 kB / 335.8 MB, free: 3.332 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007822/0.1599, allocations: 347.6 kB / 336.1 MB, free: 2.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.021e-05/0.16, allocations: 43.98 kB / 336.2 MB, free: 2.938 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1936/0.3536, allocations: 8.241 MB / 344.4 MB, free: 49.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.3536, allocations: 3.25 kB / 344.4 MB, free: 49.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002316/0.3559, allocations: 1.479 MB / 345.9 MB, free: 48.94 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002241/0.3561, allocations: 37.67 kB / 345.9 MB, free: 48.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004325/0.3565, allocations: 55.72 kB / 346 MB, free: 48.94 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002347/0.3568, allocations: 127.8 kB / 346.1 MB, free: 48.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.876e-05/0.3568, allocations: 37.61 kB / 346.2 MB, free: 48.94 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006986/0.3575, allocations: 0.535 MB / 346.7 MB, free: 48.89 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3575, allocations: 0 / 346.7 MB, free: 48.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001576/0.3591, allocations: 0.5792 MB / 347.3 MB, free: 48.89 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 8 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.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 (123): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,5,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002662/0.3594, allocations: 150.4 kB / 347.4 MB, free: 48.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001323/0.3607, allocations: 1.079 MB / 348.5 MB, free: 48.55 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.49e-05/0.3607, allocations: 31.91 kB / 348.5 MB, free: 48.54 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009688/0.3617, allocations: 1.272 MB / 349.8 MB, free: 47.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/0.3635, allocations: 4.695 MB / 354.5 MB, free: 43.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02026/0.3838, allocations: 5.198 MB / 359.7 MB, free: 41.11 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006894/0.3845, allocations: 0.6745 MB / 360.4 MB, free: 40.98 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007749/0.3852, allocations: 260.5 kB / 360.6 MB, free: 40.95 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000775/0.386, allocations: 475.7 kB / 361.1 MB, free: 40.88 MB / 330.7 MB Notification: Performance of SimCode: time 2.494e-06/0.386, allocations: 0 / 361.1 MB, free: 40.88 MB / 330.7 MB Notification: Performance of Templates: time 0.03849/0.4245, allocations: 30.56 MB / 391.7 MB, free: 19.02 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.017343582585454]