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.0007981/0.0007981, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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 0.8998/0.8998, allocations: 177.2 MB / 200.2 MB, free: 5.945 MB / 186.7 MB " [Timeout remaining time 179] 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.001133/0.001133, allocations: 164.5 kB / 256.7 MB, free: 13.35 MB / 250.7 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.02198/0.02198, allocations: 6.663 MB / 319.8 MB, free: 26.77 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 446.7 MB, free: 37.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2e-05/2.152e-05, allocations: 5.094 kB / 446.7 MB, free: 37.1 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.008123/0.008145, allocations: 12.07 MB / 458.8 MB, free: 24.97 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.007172/0.01532, allocations: 4.373 MB / 463.1 MB, free: 20.58 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009173/0.01623, allocations: 111.3 kB / 463.2 MB, free: 20.47 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001545/0.01778, allocations: 1.037 MB / 464.3 MB, free: 19.43 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001669/0.01945, allocations: 1.338 MB / 465.6 MB, free: 18.09 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009144/0.02036, allocations: 0.9078 MB / 466.5 MB, free: 17.18 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001728/0.02209, allocations: 4.283 MB / 470.8 MB, free: 12.88 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001279/0.02337, allocations: 1.906 MB / 472.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001503/0.02487, allocations: 2.909 MB / 475.6 MB, free: 7.996 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001123/0.026, allocations: 1.804 MB / 477.4 MB, free: 6.188 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003023/0.0263, allocations: 0.5234 MB / 477.9 MB, free: 5.664 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006594/0.02696, allocations: 0.7339 MB / 478.7 MB, free: 4.93 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004298/0.02739, allocations: 1.18 MB / 479.9 MB, free: 3.746 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007244/0.02811, allocations: 1.473 MB / 481.3 MB, free: 2.27 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004451/0.03256, allocations: 7.004 MB / 488.3 MB, free: 11.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.03257, allocations: 4 kB / 488.3 MB, free: 11.24 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.03257, allocations: 0 / 488.3 MB, free: 11.24 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001043/0.03267, allocations: 0 / 488.3 MB, free: 11.24 MB / 346.7 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.006196/0.03887, allocations: 4.44 MB / 492.8 MB, free: 6.746 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.03891, allocations: 8.031 kB / 492.8 MB, free: 6.738 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002104/0.04101, allocations: 0.83 MB / 493.6 MB, free: 5.906 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002647/0.04366, allocations: 2.43 MB / 496 MB, free: 3.426 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.04377, allocations: 251.1 kB / 496.3 MB, free: 3.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003219/0.0441, allocations: 336.3 kB / 496.6 MB, free: 2.852 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004961/0.04906, allocations: 4.658 MB / 0.4895 GB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.494e-05/0.04911, allocations: 15.95 kB / 0.4895 GB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002159/0.04933, allocations: 136 kB / 0.4897 GB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.216e-05/0.04942, allocations: 154.7 kB / 0.4898 GB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004109/0.05353, allocations: 3.813 MB / 0.4935 GB, free: 9.992 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01186/0.06539, allocations: 12.08 MB / 0.5053 GB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00283/0.06822, allocations: 2.398 MB / 0.5077 GB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001323/0.06954, allocations: 1.107 MB / 0.5088 GB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003057/0.0726, allocations: 2.778 MB / 0.5115 GB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.07263, allocations: 47.56 kB / 0.5115 GB, free: 7.281 MB / 378.7 MB Notification: Performance of pre-optimization done (n=115): time 2.154e-06/0.07263, allocations: 0 / 0.5115 GB, free: 7.281 MB / 378.7 MB Notification: Performance of matching and sorting (n=118): time 0.006101/0.07873, allocations: 4.653 MB / 0.5161 GB, free: 2.582 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.07877, allocations: 64.41 kB / 0.5161 GB, free: 2.508 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.0801, allocations: 1.51 MB / 0.5176 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.37e-05/0.08015, allocations: 49.7 kB / 0.5176 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006442/0.08079, allocations: 1.546 MB / 0.5192 GB, free: 15.37 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002219/0.08102, allocations: 440.2 kB / 0.5196 GB, free: 14.94 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000277/0.08129, allocations: 291.5 kB / 0.5199 GB, free: 14.65 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.048e-05/0.08136, allocations: 301.1 kB / 0.5201 GB, free: 14.35 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006681/0.08203, allocations: 0.6246 MB / 0.5207 GB, free: 13.73 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008922/0.08292, allocations: 1.16 MB / 0.5219 GB, free: 12.33 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001777/0.0847, allocations: 1.876 MB / 0.5237 GB, free: 10.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.08471, allocations: 4 kB / 0.5237 GB, free: 10.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.002114/0.08682, allocations: 2.115 MB / 0.5258 GB, free: 8.098 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.08684, allocations: 12 kB / 0.5258 GB, free: 8.086 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.08686, allocations: 19.94 kB / 0.5258 GB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000243/0.0871, allocations: 134.4 kB / 0.5259 GB, free: 7.926 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007589/0.08786, allocations: 395.8 kB / 0.5263 GB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/0.08973, allocations: 3.109 MB / 0.5294 GB, free: 4.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005307/0.09026, allocations: 79.91 kB / 0.5294 GB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.435e-05/0.09034, allocations: 68 kB / 0.5295 GB, free: 4.086 MB / 394.7 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.001258/0.09159, allocations: 1.044 MB / 0.5305 GB, free: 3.031 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.09174, allocations: 174.9 kB / 0.5307 GB, free: 2.859 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002176/0.09391, allocations: 1.87 MB / 0.5325 GB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.09392, allocations: 12 kB / 0.5325 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.09393, allocations: 8 kB / 0.5325 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.09394, allocations: 3.984 kB / 0.5325 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004589/0.09853, allocations: 3.907 MB / 0.5363 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-06/0.09853, allocations: 4.125 kB / 0.5364 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003711/0.0989, allocations: 159.8 kB / 0.5365 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006298/0.09953, allocations: 444.1 kB / 0.5369 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.542e-05/0.09959, allocations: 35.98 kB / 0.537 GB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006158/0.1057, allocations: 10.34 MB / 0.5471 GB, free: 1.465 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1058, allocations: 4.031 kB / 0.5471 GB, free: 1.461 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002683/0.1084, allocations: 2.684 MB / 0.5497 GB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005608/0.109, allocations: 310.7 kB / 0.55 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.1091, allocations: 32 kB / 0.55 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003916/0.1095, allocations: 59.95 kB / 0.5501 GB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/0.1097, allocations: 104.7 kB / 0.5502 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.511e-05/0.1097, allocations: 35.98 kB / 0.5502 GB, free: 14.19 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009762/0.1107, allocations: 1.006 MB / 0.5512 GB, free: 13.19 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1107, allocations: 0 / 0.5512 GB, free: 13.19 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001375/0.1121, allocations: 0.543 MB / 0.5517 GB, free: 12.64 MB / 426.7 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.0002699/0.1123, allocations: 166.9 kB / 0.5519 GB, free: 12.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001816/0.1142, allocations: 1.698 MB / 0.5535 GB, free: 10.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1142, allocations: 0 / 0.5535 GB, free: 10.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001243/0.1154, allocations: 1.444 MB / 0.5549 GB, free: 9.242 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.1165, allocations: 456.6 kB / 0.5554 GB, free: 8.801 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006317/0.1228, allocations: 5.508 MB / 0.5608 GB, free: 3.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001295/0.1241, allocations: 1.765 MB / 0.5625 GB, free: 1.422 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002623/0.1244, allocations: 132.5 kB / 0.5626 GB, free: 1.293 MB / 426.7 MB Notification: Performance of SimCode: time 1.513e-06/0.1244, allocations: 0 / 0.5626 GB, free: 1.293 MB / 426.7 MB Notification: Performance of Templates: time 0.2116/0.336, allocations: 105.9 MB / 0.666 GB, free: 21.43 MB / 426.7 MB " [Timeout remaining time 660] 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: 7.782896951772273] Failed to read output from testmodel.py, exit status != 0: 0.34116163197904825 0.34728316200000003 0.31332422000000004 Calling exit ...