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.001918/0.001918, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.761/1.761, allocations: 230.6 MB / 252.7 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.001843/0.001843, allocations: 214 kB / 309.2 MB, free: 3.109 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.04491/0.04491, allocations: 8.925 MB / 374.6 MB, free: 6.621 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.002869/0.002869, allocations: 89.75 kB / 0.4896 GB, free: 44.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1189, allocations: 55.61 MB / 0.5439 GB, free: 4.523 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.01864/0.1376, allocations: 12.06 MB / 0.5557 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01093/0.1485, allocations: 4.369 MB / 0.56 GB, free: 4.016 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00335/0.1518, allocations: 107.3 kB / 0.5601 GB, free: 3.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004161/0.156, allocations: 1.037 MB / 0.5611 GB, free: 2.867 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005853/0.1619, allocations: 1.297 MB / 0.5624 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003467/0.1653, allocations: 0.8877 MB / 0.5632 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2965/0.4618, allocations: 4.069 MB / 0.5672 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00287/0.4647, allocations: 1.889 MB / 0.5691 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003319/0.468, allocations: 1.998 MB / 0.571 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004648/0.4727, allocations: 2.144 MB / 0.5731 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001765/0.4744, allocations: 0.5224 MB / 0.5736 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00317/0.4776, allocations: 0.7308 MB / 0.5743 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001794/0.4794, allocations: 1.157 MB / 0.5755 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004632/0.484, allocations: 1.725 MB / 0.5771 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0107/0.4947, allocations: 6.974 MB / 0.584 GB, free: 6.953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.4947, allocations: 0.5625 kB / 0.584 GB, free: 6.953 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4947, allocations: 0 / 0.584 GB, free: 6.953 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002723/0.495, allocations: 7.375 kB / 0.584 GB, free: 6.953 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.01732/0.5123, allocations: 4.482 MB / 0.5883 GB, free: 4.586 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.882e-05/0.5124, allocations: 13.33 kB / 0.5883 GB, free: 4.582 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005341/0.5177, allocations: 0.8251 MB / 0.5892 GB, free: 4.293 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005965/0.5237, allocations: 2.424 MB / 0.5915 GB, free: 2.676 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002837/0.524, allocations: 252.1 kB / 0.5918 GB, free: 2.562 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001276/0.5253, allocations: 332.6 kB / 0.5921 GB, free: 2.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01486/0.5401, allocations: 4.669 MB / 0.5966 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001992/0.5403, allocations: 5.344 kB / 0.5966 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00114/0.5415, allocations: 132 kB / 0.5968 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00041/0.5419, allocations: 157.4 kB / 0.5969 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01209/0.554, allocations: 3.813 MB / 0.6006 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03077/0.5847, allocations: 12.09 MB / 0.6124 GB, free: 4.191 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005843/0.5906, allocations: 2.404 MB / 0.6148 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002438/0.593, allocations: 1.095 MB / 0.6159 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007517/0.6005, allocations: 2.779 MB / 0.6186 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.092e-05/0.6006, allocations: 55.5 kB / 0.6186 GB, free: 14.03 MB / 414.1 MB Notification: Performance of pre-optimization done (n=115): time 3.988e-06/0.6006, allocations: 0 / 0.6186 GB, free: 14.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=118): time 0.01262/0.6132, allocations: 4.661 MB / 0.6232 GB, free: 9.359 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.469e-05/0.6133, allocations: 64.41 kB / 0.6232 GB, free: 9.281 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003511/0.6168, allocations: 1.509 MB / 0.6247 GB, free: 7.766 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002025/0.617, allocations: 49.7 kB / 0.6248 GB, free: 7.711 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001457/0.6185, allocations: 1.548 MB / 0.6263 GB, free: 6.156 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005584/0.619, allocations: 440.7 kB / 0.6267 GB, free: 5.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006032/0.6196, allocations: 291.5 kB / 0.627 GB, free: 5.438 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.6198, allocations: 301.1 kB / 0.6273 GB, free: 5.141 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/0.6211, allocations: 0.6286 MB / 0.6279 GB, free: 4.512 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001814/0.623, allocations: 1.155 MB / 0.629 GB, free: 3.133 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003265/0.6262, allocations: 1.876 MB / 0.6308 GB, free: 1.102 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.026e-05/0.6262, allocations: 5.125 kB / 0.6308 GB, free: 1.098 MB / 414.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004531/0.6308, allocations: 2.116 MB / 0.6329 GB, free: 15.06 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.195e-05/0.6308, allocations: 14.03 kB / 0.6329 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.76e-05/0.6309, allocations: 16 kB / 0.6329 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004701/0.6313, allocations: 137.9 kB / 0.6331 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/0.6329, allocations: 391.8 kB / 0.6334 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00338/0.6363, allocations: 3.115 MB / 0.6365 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/0.638, allocations: 75.91 kB / 0.6366 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002312/0.6382, allocations: 68 kB / 0.6366 GB, free: 11.11 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.002561/0.6408, allocations: 1.045 MB / 0.6376 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005768/0.6413, allocations: 171 kB / 0.6378 GB, free: 9.906 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004496/0.6458, allocations: 1.873 MB / 0.6396 GB, free: 8.027 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.6459, allocations: 12 kB / 0.6396 GB, free: 8.016 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-05/0.6459, allocations: 8 kB / 0.6397 GB, free: 8.008 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/0.6459, allocations: 11.77 kB / 0.6397 GB, free: 8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/0.6566, allocations: 3.913 MB / 0.6435 GB, free: 4.074 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.6566, allocations: 4 kB / 0.6435 GB, free: 4.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000785/0.6574, allocations: 161.9 kB / 0.6436 GB, free: 3.922 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001335/0.6587, allocations: 437.4 kB / 0.6441 GB, free: 3.484 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001268/0.6589, allocations: 35.98 kB / 0.6441 GB, free: 3.449 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01329/0.6721, allocations: 10.33 MB / 0.6542 GB, free: 8.695 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.6721, allocations: 0 / 0.6542 GB, free: 8.695 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006117/0.6783, allocations: 2.701 MB / 0.6568 GB, free: 5.977 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/0.6797, allocations: 318.7 kB / 0.6571 GB, free: 5.664 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006261/0.6803, allocations: 31.94 kB / 0.6572 GB, free: 5.633 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/0.6816, allocations: 63.95 kB / 0.6572 GB, free: 5.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003223/0.6819, allocations: 100.4 kB / 0.6573 GB, free: 5.473 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/0.682, allocations: 35.98 kB / 0.6573 GB, free: 5.438 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002387/0.6844, allocations: 1.006 MB / 0.6583 GB, free: 4.434 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6844, allocations: 0 / 0.6583 GB, free: 4.434 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003253/0.6877, allocations: 0.5468 MB / 0.6589 GB, free: 3.887 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.0004952/0.6882, allocations: 170.4 kB / 0.659 GB, free: 3.723 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003776/0.6919, allocations: 1.696 MB / 0.6607 GB, free: 2.055 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.6919, allocations: 0 / 0.6607 GB, free: 2.055 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002693/0.6946, allocations: 1.436 MB / 0.6621 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003198/0.6978, allocations: 446.2 kB / 0.6625 GB, free: 144 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01506/0.7129, allocations: 5.745 MB / 0.6681 GB, free: 10.36 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004634/0.7175, allocations: 1.816 MB / 0.6699 GB, free: 8.516 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00194/0.7195, allocations: 362.6 kB / 0.6702 GB, free: 8.156 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005896/0.7201, allocations: 123.4 kB / 0.6704 GB, free: 8.035 MB / 462.1 MB Notification: Performance of SimCode: time 2.214e-06/0.7201, allocations: 0 / 0.6704 GB, free: 8.035 MB / 462.1 MB Notification: Performance of Templates: time 0.06087/0.7809, allocations: 29.34 MB / 0.699 GB, free: 11.12 MB / 494.1 MB " [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: 6.980912351980805] Failed to read output from testmodel.py, exit status != 0: 0.7924013249576092 0.811683488 0.31246884 Calling exit ...