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.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.001246/0.001246, allocations: 109.7 kB / 17.08 MB, free: 5.789 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.264/1.264, allocations: 222.9 MB / 242.7 MB, free: 15.28 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.001397/0.001397, allocations: 186.1 kB / 295 MB, free: 12.7 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.0384/0.0384, allocations: 8.792 MB / 356 MB, free: 15.94 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_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 0.002194/0.002194, allocations: 79.88 kB / 473.3 MB, free: 5.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2098, allocations: 51.56 MB / 0.5126 GB, free: 12.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.01471/0.2246, allocations: 13.16 MB / 0.5254 GB, free: 15.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007827/0.2324, allocations: 4.314 MB / 0.5297 GB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001726/0.2342, allocations: 83.69 kB / 0.5297 GB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002421/0.2366, allocations: 1.036 MB / 0.5307 GB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003477/0.2401, allocations: 1.289 MB / 0.532 GB, free: 9.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001808/0.242, allocations: 0.8615 MB / 0.5328 GB, free: 8.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004667/0.2466, allocations: 4.031 MB / 0.5368 GB, free: 4.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003883/0.2505, allocations: 3.518 MB / 0.5402 GB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002537/0.2531, allocations: 1.928 MB / 0.5421 GB, free: 14.7 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003076/0.2562, allocations: 2.129 MB / 0.5442 GB, free: 12.56 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008354/0.257, allocations: 0.5273 MB / 0.5447 GB, free: 12.04 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001421/0.2585, allocations: 0.7224 MB / 0.5454 GB, free: 11.31 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001007/0.2595, allocations: 1.145 MB / 0.5465 GB, free: 10.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002444/0.2619, allocations: 2.175 MB / 0.5486 GB, free: 7.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007352/0.2693, allocations: 6.907 MB / 0.5554 GB, free: 1.051 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2693, allocations: 8 kB / 0.5554 GB, free: 1.043 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2693, allocations: 0 / 0.5554 GB, free: 1.043 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.663e-05/0.2694, allocations: 0 / 0.5554 GB, free: 1.043 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.009595/0.279, allocations: 4.527 MB / 0.5598 GB, free: 12.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.2791, allocations: 12.03 kB / 0.5598 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004008/0.2831, allocations: 0.8417 MB / 0.5606 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003977/0.2871, allocations: 2.486 MB / 0.5631 GB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001883/0.2873, allocations: 251.1 kB / 0.5633 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004849/0.2878, allocations: 340.1 kB / 0.5636 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007128/0.2949, allocations: 4.511 MB / 0.568 GB, free: 3.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-05/0.295, allocations: 3.953 kB / 0.568 GB, free: 3.906 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003021/0.2953, allocations: 132 kB / 0.5682 GB, free: 3.777 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000155/0.2954, allocations: 158.7 kB / 0.5683 GB, free: 3.621 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006457/0.3019, allocations: 3.813 MB / 0.572 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01978/0.3217, allocations: 14.06 MB / 0.5858 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006509/0.3283, allocations: 6.146 MB / 0.5918 GB, free: 10.37 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00188/0.3302, allocations: 1.177 MB / 0.5929 GB, free: 9.195 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00499/0.3352, allocations: 3.306 MB / 0.5962 GB, free: 5.805 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/0.3352, allocations: 55.53 kB / 0.5962 GB, free: 5.742 MB / 414.1 MB Notification: Performance of pre-optimization done (n=115): time 4.168e-06/0.3352, allocations: 0 / 0.5962 GB, free: 5.742 MB / 414.1 MB Notification: Performance of matching and sorting (n=118): time 0.009907/0.3451, allocations: 5.278 MB / 0.6014 GB, free: 272 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.3452, allocations: 68.34 kB / 0.6014 GB, free: 192 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002318/0.3475, allocations: 1.686 MB / 0.6031 GB, free: 14.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.595e-05/0.3476, allocations: 45.7 kB / 0.6031 GB, free: 14.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001129/0.3488, allocations: 1.535 MB / 0.6046 GB, free: 12.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003491/0.3491, allocations: 436.3 kB / 0.605 GB, free: 12.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004232/0.3496, allocations: 283.5 kB / 0.6053 GB, free: 12.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3497, allocations: 309.1 kB / 0.6056 GB, free: 11.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.3507, allocations: 0.6246 MB / 0.6062 GB, free: 11.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/0.3522, allocations: 1.131 MB / 0.6073 GB, free: 9.898 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002581/0.3548, allocations: 1.869 MB / 0.6091 GB, free: 7.809 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.3548, allocations: 7.938 kB / 0.6091 GB, free: 7.801 MB / 430.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003547/0.3584, allocations: 2.198 MB / 0.6113 GB, free: 5.566 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.3584, allocations: 12 kB / 0.6113 GB, free: 5.555 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/0.3584, allocations: 16 kB / 0.6113 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003787/0.3588, allocations: 138.4 kB / 0.6114 GB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.3602, allocations: 399.5 kB / 0.6118 GB, free: 5.004 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002895/0.3631, allocations: 3.361 MB / 0.6151 GB, free: 1.355 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.3643, allocations: 76.06 kB / 0.6152 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/0.3644, allocations: 72.05 kB / 0.6153 GB, free: 1.211 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.001621/0.366, allocations: 1.051 MB / 0.6163 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003039/0.3663, allocations: 182.9 kB / 0.6165 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003585/0.3699, allocations: 2.045 MB / 0.6185 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.3699, allocations: 12 kB / 0.6185 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.37, allocations: 11.94 kB / 0.6185 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.37, allocations: 3.984 kB / 0.6185 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007395/0.3774, allocations: 4.775 MB / 0.6231 GB, free: 8.926 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.864e-06/0.3774, allocations: 4 kB / 0.6231 GB, free: 8.922 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007014/0.3781, allocations: 155.8 kB / 0.6233 GB, free: 8.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001178/0.3793, allocations: 454.8 kB / 0.6237 GB, free: 8.312 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.104e-05/0.3794, allocations: 35.98 kB / 0.6238 GB, free: 8.277 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01101/0.3904, allocations: 11.06 MB / 0.6346 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.3905, allocations: 4.031 kB / 0.6346 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004725/0.3952, allocations: 2.882 MB / 0.6374 GB, free: 9.562 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000792/0.396, allocations: 400 kB / 0.6378 GB, free: 9.152 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/0.3962, allocations: 35.98 kB / 0.6378 GB, free: 9.117 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007532/0.397, allocations: 71.83 kB / 0.6379 GB, free: 9.047 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002414/0.3972, allocations: 84.88 kB / 0.6379 GB, free: 8.965 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.038e-05/0.3973, allocations: 35.98 kB / 0.638 GB, free: 8.93 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001684/0.399, allocations: 1.154 MB / 0.6391 GB, free: 7.781 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.399, allocations: 0 / 0.6391 GB, free: 7.781 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001726/0.4008, allocations: 0.5429 MB / 0.6396 GB, free: 7.238 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.0002917/0.4011, allocations: 167.5 kB / 0.6398 GB, free: 7.066 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002951/0.404, allocations: 1.845 MB / 0.6416 GB, free: 5.18 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.404, allocations: 4.125 kB / 0.6416 GB, free: 5.176 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002255/0.4063, allocations: 1.502 MB / 0.6431 GB, free: 3.605 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/0.4084, allocations: 0.5302 MB / 0.6436 GB, free: 3.078 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009167/0.4176, allocations: 5.71 MB / 0.6492 GB, free: 13.31 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002153/0.4197, allocations: 2.304 MB / 0.6514 GB, free: 10.98 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004895/0.4202, allocations: 139.4 kB / 0.6515 GB, free: 10.84 MB / 478.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4202, allocations: 0 / 0.6515 GB, free: 10.84 MB / 478.1 MB Notification: Performance of Templates: time 0.2481/0.6684, allocations: 105.2 MB / 0.7543 GB, free: 45.55 MB / 478.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: 11.239961239043623] Failed to read output from testmodel.py, exit status != 0: 0.6738108850549906 0.681750067 0.41078681999999994 Calling exit ...