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.001386/0.001386, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.467/1.467, allocations: 230.6 MB / 253.4 MB, free: 14.27 MB / 206.1 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.001727/0.001727, allocations: 213.6 kB / 310 MB, free: 3.059 MB / 238.1 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.04174/0.04174, allocations: 8.927 MB / 375.3 MB, free: 6.574 MB / 302.1 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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002563/0.002563, allocations: 87.88 kB / 0.4904 GB, free: 44.22 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1063, allocations: 55.62 MB / 0.5447 GB, free: 4.512 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.01685/0.1231, allocations: 12.06 MB / 0.5565 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01103/0.1341, allocations: 4.361 MB / 0.5607 GB, free: 4.012 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0032/0.1373, allocations: 111.3 kB / 0.5608 GB, free: 3.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004156/0.1415, allocations: 1.041 MB / 0.5619 GB, free: 2.855 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00577/0.1473, allocations: 1.289 MB / 0.5631 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003279/0.1505, allocations: 0.888 MB / 0.564 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.25/0.4005, allocations: 4.067 MB / 0.568 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00267/0.4032, allocations: 1.891 MB / 0.5698 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003092/0.4063, allocations: 1.998 MB / 0.5717 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004486/0.4108, allocations: 2.15 MB / 0.5738 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001617/0.4124, allocations: 0.5229 MB / 0.5744 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002679/0.4151, allocations: 0.7264 MB / 0.5751 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001546/0.4166, allocations: 1.159 MB / 0.5762 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004424/0.4211, allocations: 1.724 MB / 0.5779 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01013/0.4312, allocations: 6.977 MB / 0.5847 GB, free: 7.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.4312, allocations: 1.594 kB / 0.5847 GB, free: 7.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4312, allocations: 0 / 0.5847 GB, free: 7.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002552/0.4315, allocations: 3.375 kB / 0.5847 GB, free: 7.02 MB / 382.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.01476/0.4462, allocations: 4.481 MB / 0.5891 GB, free: 4.656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.4463, allocations: 13.86 kB / 0.5891 GB, free: 4.652 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004966/0.4512, allocations: 0.8232 MB / 0.5899 GB, free: 4.359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006397/0.4576, allocations: 2.425 MB / 0.5923 GB, free: 2.738 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003666/0.458, allocations: 253.8 kB / 0.5925 GB, free: 2.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001783/0.4598, allocations: 334.2 kB / 0.5928 GB, free: 2.512 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01004/0.4698, allocations: 4.667 MB / 0.5974 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.8e-05/0.4699, allocations: 5.625 kB / 0.5974 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004147/0.4703, allocations: 135.9 kB / 0.5975 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002947/0.4706, allocations: 161.3 kB / 0.5977 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007589/0.4782, allocations: 3.806 MB / 0.6014 GB, free: 13.51 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02374/0.5019, allocations: 12.09 MB / 0.6132 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006068/0.508, allocations: 2.391 MB / 0.6155 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002275/0.5103, allocations: 1.102 MB / 0.6166 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006936/0.5172, allocations: 2.782 MB / 0.6193 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.003e-05/0.5173, allocations: 51.48 kB / 0.6194 GB, free: 14.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=115): time 4.138e-06/0.5173, allocations: 0 / 0.6194 GB, free: 14.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=118): time 0.01172/0.529, allocations: 4.656 MB / 0.6239 GB, free: 9.426 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.5291, allocations: 68.41 kB / 0.624 GB, free: 9.344 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002954/0.532, allocations: 1.506 MB / 0.6255 GB, free: 7.828 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001655/0.5322, allocations: 49.69 kB / 0.6255 GB, free: 7.773 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001305/0.5335, allocations: 1.551 MB / 0.627 GB, free: 6.215 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005001/0.534, allocations: 441.8 kB / 0.6274 GB, free: 5.789 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004897/0.5345, allocations: 287.5 kB / 0.6277 GB, free: 5.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.5346, allocations: 301.1 kB / 0.628 GB, free: 5.203 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/0.5358, allocations: 0.6208 MB / 0.6286 GB, free: 4.582 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.5375, allocations: 1.167 MB / 0.6297 GB, free: 3.191 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002977/0.5405, allocations: 1.867 MB / 0.6316 GB, free: 1.168 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.81e-05/0.5405, allocations: 11.94 kB / 0.6316 GB, free: 1.156 MB / 414.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004178/0.5447, allocations: 2.113 MB / 0.6336 GB, free: 15.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.764e-05/0.5447, allocations: 12 kB / 0.6337 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-05/0.5448, allocations: 20.03 kB / 0.6337 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004456/0.5452, allocations: 144.1 kB / 0.6338 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/0.5468, allocations: 392.2 kB / 0.6342 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003111/0.5499, allocations: 3.108 MB / 0.6372 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.5514, allocations: 76.14 kB / 0.6373 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/0.5515, allocations: 71.98 kB / 0.6374 GB, free: 11.16 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.002155/0.5537, allocations: 1.044 MB / 0.6384 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004152/0.5541, allocations: 170.9 kB / 0.6385 GB, free: 9.969 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003894/0.558, allocations: 1.866 MB / 0.6404 GB, free: 8.098 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.558, allocations: 19.84 kB / 0.6404 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.761e-05/0.558, allocations: 8 kB / 0.6404 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/0.5581, allocations: 7.969 kB / 0.6404 GB, free: 8.066 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008465/0.5665, allocations: 3.906 MB / 0.6442 GB, free: 4.141 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.5665, allocations: 0 / 0.6442 GB, free: 4.141 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007565/0.5673, allocations: 163.2 kB / 0.6444 GB, free: 3.988 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001282/0.5686, allocations: 449.7 kB / 0.6448 GB, free: 3.543 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.5687, allocations: 39.97 kB / 0.6448 GB, free: 3.504 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01172/0.5804, allocations: 10.32 MB / 0.6549 GB, free: 8.754 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.5804, allocations: 7.594 kB / 0.6549 GB, free: 8.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005416/0.5858, allocations: 2.704 MB / 0.6576 GB, free: 6.023 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001213/0.587, allocations: 306.8 kB / 0.6579 GB, free: 5.723 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002628/0.5873, allocations: 31.98 kB / 0.6579 GB, free: 5.691 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008378/0.5881, allocations: 55.95 kB / 0.6579 GB, free: 5.637 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002861/0.5884, allocations: 108.2 kB / 0.658 GB, free: 5.531 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.021e-05/0.5885, allocations: 32 kB / 0.6581 GB, free: 5.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001799/0.5903, allocations: 1.01 MB / 0.6591 GB, free: 4.492 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5903, allocations: 192 / 0.6591 GB, free: 4.492 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002542/0.5928, allocations: 0.5507 MB / 0.6596 GB, free: 3.941 MB / 446.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,13,100.0%), (1,8,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.0004247/0.5933, allocations: 180.8 kB / 0.6598 GB, free: 3.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003322/0.5966, allocations: 1.691 MB / 0.6614 GB, free: 2.105 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/0.5966, allocations: 4 kB / 0.6614 GB, free: 2.102 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002425/0.599, allocations: 1.431 MB / 0.6628 GB, free: 0.625 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002405/0.6014, allocations: 432.6 kB / 0.6632 GB, free: 208 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/0.6131, allocations: 5.724 MB / 0.6688 GB, free: 10.44 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002347/0.6155, allocations: 1.769 MB / 0.6706 GB, free: 8.641 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006262/0.6161, allocations: 131.4 kB / 0.6707 GB, free: 8.512 MB / 462.1 MB Notification: Performance of SimCode: time 1.573e-06/0.6161, allocations: 0 / 0.6707 GB, free: 8.512 MB / 462.1 MB Notification: Performance of Templates: time 0.3914/1.007, allocations: 105.9 MB / 0.7741 GB, free: 184.1 MB / 0.545 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.689936819951981] Failed to read output from testmodel.py, exit status != 0: 1.0168640413321555 1.031902995 0.596611809 Calling exit ...