Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 111.2 kB / 17.08 MB, free: 6.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 222.9 MB / 242.7 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 188.7 kB / 295 MB, free: 12.66 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03891/0.03891, allocations: 8.8 MB / 356 MB, free: 15.91 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.InductionMachines.IMC_Inverter1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1") translateModel(HanserModelica.InductionMachines.IMC_Inverter1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002285/0.002286, allocations: 79.88 kB / 473.3 MB, free: 5.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2125, allocations: 51.56 MB / 0.5126 GB, free: 12.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.01513/0.2276, allocations: 13.14 MB / 0.5254 GB, free: 32 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008002/0.2357, allocations: 4.325 MB / 0.5296 GB, free: 11.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001825/0.2375, allocations: 87.62 kB / 0.5297 GB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002871/0.2404, allocations: 1.033 MB / 0.5307 GB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003836/0.2443, allocations: 1.281 MB / 0.532 GB, free: 9.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002037/0.2463, allocations: 0.8602 MB / 0.5328 GB, free: 8.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004872/0.2512, allocations: 4.04 MB / 0.5367 GB, free: 4.363 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004123/0.2554, allocations: 3.518 MB / 0.5402 GB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002595/0.258, allocations: 1.928 MB / 0.5421 GB, free: 14.84 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002909/0.2609, allocations: 2.133 MB / 0.5441 GB, free: 12.7 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007351/0.2617, allocations: 0.5234 MB / 0.5447 GB, free: 12.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/0.263, allocations: 0.7301 MB / 0.5454 GB, free: 11.45 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00101/0.264, allocations: 1.138 MB / 0.5465 GB, free: 10.31 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002368/0.2664, allocations: 2.178 MB / 0.5486 GB, free: 8.121 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006963/0.2734, allocations: 6.907 MB / 0.5554 GB, free: 1.191 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2734, allocations: 0 / 0.5554 GB, free: 1.191 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.2734, allocations: 0 / 0.5554 GB, free: 1.191 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001255/0.2735, allocations: 0 / 0.5554 GB, free: 1.191 MB / 366.1 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.01052/0.2841, allocations: 4.531 MB / 0.5598 GB, free: 12.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.2841, allocations: 12.03 kB / 0.5598 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004138/0.2883, allocations: 0.8378 MB / 0.5606 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004603/0.2929, allocations: 2.494 MB / 0.563 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002001/0.2931, allocations: 251.1 kB / 0.5633 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000587/0.2937, allocations: 336.1 kB / 0.5636 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007759/0.3015, allocations: 4.504 MB / 0.568 GB, free: 4.062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-05/0.3016, allocations: 3.953 kB / 0.568 GB, free: 4.059 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003273/0.3019, allocations: 144 kB / 0.5681 GB, free: 3.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001602/0.3021, allocations: 162.7 kB / 0.5683 GB, free: 3.758 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006809/0.3089, allocations: 3.805 MB / 0.572 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02094/0.3299, allocations: 14.06 MB / 0.5857 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006599/0.3365, allocations: 6.144 MB / 0.5917 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00207/0.3386, allocations: 1.181 MB / 0.5929 GB, free: 9.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005294/0.3439, allocations: 3.306 MB / 0.5961 GB, free: 5.949 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/0.344, allocations: 51.56 kB / 0.5962 GB, free: 5.891 MB / 414.1 MB Notification: Performance of pre-optimization done (n=115): time 2.475e-06/0.344, allocations: 0 / 0.5962 GB, free: 5.891 MB / 414.1 MB Notification: Performance of matching and sorting (n=118): time 0.01026/0.3543, allocations: 5.275 MB / 0.6013 GB, free: 428 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.3543, allocations: 64.41 kB / 0.6014 GB, free: 352 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002419/0.3568, allocations: 1.686 MB / 0.603 GB, free: 14.65 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001218/0.3569, allocations: 49.7 kB / 0.6031 GB, free: 14.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00117/0.3581, allocations: 1.535 MB / 0.6046 GB, free: 13.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003911/0.3585, allocations: 440.3 kB / 0.605 GB, free: 12.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004293/0.3589, allocations: 283.5 kB / 0.6053 GB, free: 12.33 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.359, allocations: 305.1 kB / 0.6056 GB, free: 12.03 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.3601, allocations: 0.6247 MB / 0.6062 GB, free: 11.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/0.3616, allocations: 1.135 MB / 0.6073 GB, free: 10.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002596/0.3642, allocations: 1.865 MB / 0.6091 GB, free: 7.961 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/0.3642, allocations: 11.88 kB / 0.6091 GB, free: 7.949 MB / 430.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003786/0.368, allocations: 2.202 MB / 0.6113 GB, free: 5.711 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.368, allocations: 15.94 kB / 0.6113 GB, free: 5.695 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.328e-05/0.3681, allocations: 16 kB / 0.6113 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003981/0.3685, allocations: 134.8 kB / 0.6114 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/0.3699, allocations: 391.4 kB / 0.6118 GB, free: 5.156 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002954/0.3729, allocations: 3.369 MB / 0.6151 GB, free: 1.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/0.3741, allocations: 71.91 kB / 0.6151 GB, free: 1.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.3742, allocations: 72 kB / 0.6152 GB, free: 1.359 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (196): * Single equations (assignments): 193 * 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.001671/0.3759, allocations: 1.048 MB / 0.6162 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002893/0.3762, allocations: 182.8 kB / 0.6164 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003652/0.3799, allocations: 2.045 MB / 0.6184 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.3799, allocations: 8 kB / 0.6184 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/0.3799, allocations: 11.94 kB / 0.6184 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-05/0.3799, allocations: 7.969 kB / 0.6184 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007473/0.3874, allocations: 4.782 MB / 0.6231 GB, free: 9.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.3875, allocations: 4 kB / 0.6231 GB, free: 9.066 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007026/0.3882, allocations: 164 kB / 0.6233 GB, free: 8.906 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001169/0.3894, allocations: 439.9 kB / 0.6237 GB, free: 8.461 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.484e-05/0.3895, allocations: 35.98 kB / 0.6237 GB, free: 8.426 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01118/0.4007, allocations: 11.07 MB / 0.6345 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.4007, allocations: 7.969 kB / 0.6345 GB, free: 12.67 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004746/0.4054, allocations: 2.878 MB / 0.6373 GB, free: 9.699 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007713/0.4063, allocations: 403.8 kB / 0.6377 GB, free: 9.285 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/0.4065, allocations: 32 kB / 0.6378 GB, free: 9.254 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000746/0.4072, allocations: 55.95 kB / 0.6378 GB, free: 9.199 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/0.4075, allocations: 92.86 kB / 0.6379 GB, free: 9.109 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.262e-05/0.4076, allocations: 39.98 kB / 0.6379 GB, free: 9.07 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001647/0.4092, allocations: 1.154 MB / 0.6391 GB, free: 7.922 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4092, allocations: 0 / 0.6391 GB, free: 7.922 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001711/0.4109, allocations: 0.5429 MB / 0.6396 GB, free: 7.379 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (81): * Single equations (assignments): 76 * 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.0002952/0.4112, allocations: 167.5 kB / 0.6398 GB, free: 7.207 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002958/0.4142, allocations: 1.843 MB / 0.6416 GB, free: 5.32 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4142, allocations: 1.812 kB / 0.6416 GB, free: 5.32 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002228/0.4165, allocations: 1.498 MB / 0.643 GB, free: 3.754 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/0.4186, allocations: 0.5356 MB / 0.6435 GB, free: 3.223 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009582/0.4282, allocations: 5.699 MB / 0.6491 GB, free: 13.46 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002363/0.4306, allocations: 2.304 MB / 0.6514 GB, free: 11.13 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005321/0.4312, allocations: 147.3 kB / 0.6515 GB, free: 10.99 MB / 478.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4312, allocations: 0 / 0.6515 GB, free: 10.99 MB / 478.1 MB Notification: Performance of Templates: time 0.2362/0.6674, allocations: 105.2 MB / 0.7543 GB, free: 45.81 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.256184552796185] Failed to read output from testmodel.py, exit status != 0: 0.6727364240214229 0.680609278 0.40557379600000004 Calling exit ...