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.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.001607/0.001607, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.478/1.478, allocations: 230.6 MB / 253.4 MB, free: 14.3 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.001726/0.001726, allocations: 211 kB / 310 MB, free: 3.082 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.04206/0.04206, allocations: 8.924 MB / 375.3 MB, free: 6.598 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_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: 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.002549/0.002549, allocations: 91.8 kB / 0.4904 GB, free: 44.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09366/0.09621, allocations: 55.6 MB / 0.5447 GB, free: 4.566 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.01649/0.1127, allocations: 12.05 MB / 0.5564 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.011/0.1237, allocations: 4.365 MB / 0.5607 GB, free: 4.074 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003191/0.1269, allocations: 107.3 kB / 0.5608 GB, free: 3.969 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00395/0.1308, allocations: 1.033 MB / 0.5618 GB, free: 2.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005623/0.1365, allocations: 1.305 MB / 0.5631 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003184/0.1397, allocations: 0.895 MB / 0.564 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2927/0.4323, allocations: 4.064 MB / 0.5679 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002901/0.4352, allocations: 1.888 MB / 0.5698 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005351/0.4406, allocations: 2.002 MB / 0.5717 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004888/0.4454, allocations: 2.146 MB / 0.5738 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001831/0.4473, allocations: 0.5231 MB / 0.5743 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003023/0.4503, allocations: 0.73 MB / 0.575 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001632/0.4519, allocations: 1.152 MB / 0.5762 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004413/0.4563, allocations: 1.73 MB / 0.5779 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01168/0.468, allocations: 6.973 MB / 0.5847 GB, free: 6.984 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.468, allocations: 1.312 kB / 0.5847 GB, free: 6.984 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.468, allocations: 3.562 kB / 0.5847 GB, free: 6.984 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002651/0.4683, allocations: 3.938 kB / 0.5847 GB, free: 6.984 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.0154/0.4837, allocations: 4.477 MB / 0.589 GB, free: 4.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.4838, allocations: 13.08 kB / 0.5891 GB, free: 4.617 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00467/0.4884, allocations: 0.8228 MB / 0.5899 GB, free: 4.332 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005816/0.4942, allocations: 2.431 MB / 0.5922 GB, free: 2.707 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002421/0.4945, allocations: 250 kB / 0.5925 GB, free: 2.594 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001193/0.4957, allocations: 334.1 kB / 0.5928 GB, free: 2.484 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01011/0.5058, allocations: 4.663 MB / 0.5973 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-05/0.5059, allocations: 9.656 kB / 0.5974 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004173/0.5063, allocations: 135.7 kB / 0.5975 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003206/0.5066, allocations: 161.7 kB / 0.5976 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00841/0.515, allocations: 3.808 MB / 0.6014 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02439/0.5394, allocations: 12.08 MB / 0.6131 GB, free: 4.254 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005104/0.5445, allocations: 2.393 MB / 0.6155 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001993/0.5465, allocations: 1.098 MB / 0.6166 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006077/0.5526, allocations: 2.788 MB / 0.6193 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.759e-05/0.5526, allocations: 48.19 kB / 0.6193 GB, free: 14.1 MB / 414.1 MB Notification: Performance of pre-optimization done (n=115): time 3.667e-06/0.5526, allocations: 0 / 0.6193 GB, free: 14.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=118): time 0.01152/0.5642, allocations: 4.664 MB / 0.6239 GB, free: 9.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.253e-05/0.5642, allocations: 68.39 kB / 0.6239 GB, free: 9.348 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002723/0.567, allocations: 1.503 MB / 0.6254 GB, free: 7.836 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001826/0.5671, allocations: 49.7 kB / 0.6255 GB, free: 7.781 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001348/0.5685, allocations: 1.552 MB / 0.627 GB, free: 6.223 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004805/0.569, allocations: 440.6 kB / 0.6274 GB, free: 5.797 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005021/0.5695, allocations: 291.5 kB / 0.6277 GB, free: 5.504 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.5696, allocations: 305.1 kB / 0.628 GB, free: 5.203 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/0.5708, allocations: 0.6246 MB / 0.6286 GB, free: 4.578 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/0.5724, allocations: 1.159 MB / 0.6297 GB, free: 3.195 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002824/0.5753, allocations: 1.876 MB / 0.6315 GB, free: 1.168 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.937e-05/0.5753, allocations: 4 kB / 0.6315 GB, free: 1.164 MB / 414.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004048/0.5793, allocations: 2.116 MB / 0.6336 GB, free: 15.13 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.042e-05/0.5794, allocations: 14.81 kB / 0.6336 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-05/0.5794, allocations: 16 kB / 0.6336 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004063/0.5798, allocations: 138.9 kB / 0.6338 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.5814, allocations: 392.4 kB / 0.6341 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003179/0.5845, allocations: 3.113 MB / 0.6372 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/0.5862, allocations: 71.92 kB / 0.6373 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001649/0.5863, allocations: 80.2 kB / 0.6373 GB, free: 11.17 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.00224/0.5886, allocations: 1.037 MB / 0.6383 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004445/0.589, allocations: 170.9 kB / 0.6385 GB, free: 9.977 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003962/0.593, allocations: 1.874 MB / 0.6403 GB, free: 8.098 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/0.593, allocations: 15.84 kB / 0.6403 GB, free: 8.086 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.593, allocations: 4 kB / 0.6404 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.593, allocations: 11.97 kB / 0.6404 GB, free: 8.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00848/0.6015, allocations: 3.905 MB / 0.6442 GB, free: 4.145 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.6015, allocations: 0 / 0.6442 GB, free: 4.145 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007639/0.6023, allocations: 167 kB / 0.6443 GB, free: 3.988 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001269/0.6035, allocations: 445.1 kB / 0.6448 GB, free: 3.547 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.592e-05/0.6036, allocations: 35.98 kB / 0.6448 GB, free: 3.512 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01197/0.6156, allocations: 10.33 MB / 0.6549 GB, free: 8.762 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.6156, allocations: 4.031 kB / 0.6549 GB, free: 8.758 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005174/0.6208, allocations: 2.704 MB / 0.6575 GB, free: 6.035 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/0.6219, allocations: 314.7 kB / 0.6578 GB, free: 5.727 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002657/0.6222, allocations: 28 kB / 0.6579 GB, free: 5.699 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008086/0.623, allocations: 55.95 kB / 0.6579 GB, free: 5.645 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002975/0.6233, allocations: 105.6 kB / 0.658 GB, free: 5.539 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.057e-05/0.6234, allocations: 35.98 kB / 0.658 GB, free: 5.504 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001743/0.6251, allocations: 1.002 MB / 0.659 GB, free: 4.504 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6251, allocations: 192 / 0.659 GB, free: 4.504 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002457/0.6276, allocations: 0.5546 MB / 0.6596 GB, free: 3.949 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.0004186/0.628, allocations: 172.2 kB / 0.6597 GB, free: 3.785 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003272/0.6313, allocations: 1.689 MB / 0.6614 GB, free: 2.121 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.6313, allocations: 4.188 kB / 0.6614 GB, free: 2.117 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002581/0.6339, allocations: 1.434 MB / 0.6628 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002503/0.6364, allocations: 452.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.01184/0.6482, allocations: 5.715 MB / 0.6688 GB, free: 10.45 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002325/0.6505, allocations: 1.765 MB / 0.6705 GB, free: 8.648 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006341/0.6512, allocations: 135.4 kB / 0.6706 GB, free: 8.516 MB / 462.1 MB Notification: Performance of SimCode: time 1.182e-06/0.6512, allocations: 0 / 0.6706 GB, free: 8.516 MB / 462.1 MB Notification: Performance of Templates: time 0.3778/1.029, allocations: 105.9 MB / 0.774 GB, free: 184.1 MB / 0.545 GB " [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: 13.664968406781554] Failed to read output from testmodel.py, exit status != 0: 1.0377399888820946 1.053815636 0.582215394 Calling exit ...