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.00117/0.00117, allocations: 69.89 kB / 20.65 MB, free: 3.848 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 1.008/1.008, allocations: 177.2 MB / 201 MB, free: 5.684 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.001279/0.001279, allocations: 156.6 kB / 257.7 MB, free: 12.96 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.02459/0.02459, allocations: 6.657 MB / 320.9 MB, free: 11.45 MB / 298.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.794e-06/1.794e-06, allocations: 0 / 392.9 MB, free: 3.348 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.344e-05, allocations: 5.969 kB / 392.9 MB, free: 3.344 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.01483/0.01485, allocations: 13.19 MB / 406.1 MB, free: 6.09 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008027/0.02288, allocations: 4.509 MB / 410.6 MB, free: 1.566 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001633/0.02451, allocations: 111.3 kB / 410.7 MB, free: 1.457 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002128/0.02664, allocations: 1.04 MB / 411.7 MB, free: 420 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002865/0.02951, allocations: 1.331 MB / 413.1 MB, free: 15.07 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.03093, allocations: 0.9077 MB / 414 MB, free: 14.16 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003495/0.03443, allocations: 4.278 MB / 418.3 MB, free: 9.863 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001721/0.03615, allocations: 1.902 MB / 420.2 MB, free: 7.891 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002482/0.03863, allocations: 2.952 MB / 423.1 MB, free: 4.934 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002043/0.04067, allocations: 1.999 MB / 425.1 MB, free: 2.93 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003967/0.04107, allocations: 0.5273 MB / 425.6 MB, free: 2.402 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008888/0.04196, allocations: 0.73 MB / 426.4 MB, free: 1.672 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006648/0.04263, allocations: 1.192 MB / 427.6 MB, free: 488 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001149/0.04377, allocations: 1.501 MB / 429.1 MB, free: 14.97 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003347/0.04712, allocations: 3.548 MB / 432.6 MB, free: 11.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.04713, allocations: 0 / 432.6 MB, free: 11.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.04713, allocations: 4 kB / 432.6 MB, free: 11.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.031e-05/0.04716, allocations: 0 / 432.6 MB, free: 11.41 MB / 410.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.005513/0.05267, allocations: 4.605 MB / 437.2 MB, free: 6.742 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.05271, allocations: 8.031 kB / 437.2 MB, free: 6.734 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002851/0.05556, allocations: 1.173 MB / 438.4 MB, free: 5.559 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002343/0.0579, allocations: 2.257 MB / 440.7 MB, free: 3.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.05803, allocations: 255.1 kB / 440.9 MB, free: 3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003429/0.05837, allocations: 340.3 kB / 441.2 MB, free: 2.668 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002781/0.06116, allocations: 2.472 MB / 443.7 MB, free: 112 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.282e-05/0.06121, allocations: 0 / 443.7 MB, free: 112 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.155/0.2162, allocations: 141.5 kB / 443.9 MB, free: 140 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002117/0.2164, allocations: 156.1 kB / 444 MB, free: 140 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003774/0.2202, allocations: 0.9643 MB / 445 MB, free: 139.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01276/0.233, allocations: 11.31 MB / 456.3 MB, free: 136.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002424/0.2354, allocations: 1.669 MB / 457.9 MB, free: 136.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008262/0.2362, allocations: 0.5733 MB / 458.5 MB, free: 136.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002867/0.2391, allocations: 2.129 MB / 460.6 MB, free: 135 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.2391, allocations: 49.28 kB / 460.7 MB, free: 135 MB / 410.7 MB Notification: Performance of pre-optimization done (n=115): time 1.953e-06/0.2391, allocations: 0 / 460.7 MB, free: 135 MB / 410.7 MB Notification: Performance of matching and sorting (n=118): time 0.00428/0.2434, allocations: 2.594 MB / 463.3 MB, free: 134.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.2434, allocations: 64.91 kB / 463.4 MB, free: 134.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000992/0.2444, allocations: 1.316 MB / 464.7 MB, free: 133.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.053e-05/0.2445, allocations: 48.14 kB / 464.7 MB, free: 133.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000623/0.2451, allocations: 1.639 MB / 466.4 MB, free: 132.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/0.2453, allocations: 453.3 kB / 466.8 MB, free: 132.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002778/0.2456, allocations: 320.3 kB / 467.1 MB, free: 132.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.376e-05/0.2456, allocations: 479.9 kB / 467.6 MB, free: 131.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/0.2458, allocations: 169 kB / 467.7 MB, free: 131.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004567/0.2463, allocations: 0.9405 MB / 468.7 MB, free: 130.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008248/0.2471, allocations: 1.219 MB / 469.9 MB, free: 129.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.2471, allocations: 3.469 kB / 469.9 MB, free: 129.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00129/0.2484, allocations: 1.256 MB / 471.2 MB, free: 129.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.2484, allocations: 11.77 kB / 471.2 MB, free: 129.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.2484, allocations: 17.03 kB / 471.2 MB, free: 129.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001903/0.2486, allocations: 106.6 kB / 471.3 MB, free: 129.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007558/0.2494, allocations: 374.7 kB / 471.7 MB, free: 129.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/0.2505, allocations: 3.866 MB / 475.5 MB, free: 125.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004631/0.251, allocations: 65.88 kB / 475.6 MB, free: 125.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-05/0.2511, allocations: 57.39 kB / 475.6 MB, free: 125.6 MB / 410.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.000464/0.2515, allocations: 265.7 kB / 475.9 MB, free: 125.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/0.2517, allocations: 205.4 kB / 476.1 MB, free: 125.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/0.253, allocations: 1.08 MB / 477.2 MB, free: 124.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.253, allocations: 14.75 kB / 477.2 MB, free: 124.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.253, allocations: 6.125 kB / 477.2 MB, free: 124.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.253, allocations: 7.969 kB / 477.2 MB, free: 124.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003008/0.256, allocations: 2.722 MB / 479.9 MB, free: 122.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.256, allocations: 0 / 479.9 MB, free: 122.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003528/0.2564, allocations: 146.6 kB / 480.1 MB, free: 122.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007857/0.2571, allocations: 389.1 kB / 480.5 MB, free: 122 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.297e-05/0.2572, allocations: 35.98 kB / 480.5 MB, free: 122 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004464/0.2617, allocations: 11.22 MB / 491.7 MB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2617, allocations: 0 / 491.7 MB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.2632, allocations: 1.477 MB / 493.2 MB, free: 108.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003021/0.2635, allocations: 284.9 kB / 493.5 MB, free: 108.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.2637, allocations: 28 kB / 493.5 MB, free: 108.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003636/0.264, allocations: 44.11 kB / 493.5 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.2642, allocations: 112.3 kB / 493.6 MB, free: 108.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-05/0.2643, allocations: 27.98 kB / 493.7 MB, free: 108.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004523/0.2647, allocations: 0.7091 MB / 494.4 MB, free: 107.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2647, allocations: 0 / 494.4 MB, free: 107.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001351/0.2661, allocations: 0.539 MB / 494.9 MB, free: 107.2 MB / 410.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.0002128/0.2663, allocations: 163.8 kB / 495.1 MB, free: 107.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009334/0.2672, allocations: 1.115 MB / 496.2 MB, free: 106 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2672, allocations: 192 / 496.2 MB, free: 106 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008266/0.268, allocations: 1.433 MB / 497.6 MB, free: 104.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.2693, allocations: 457.9 kB / 498.1 MB, free: 104.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006085/0.2753, allocations: 4.975 MB / 0.4913 GB, free: 99.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008364/0.2762, allocations: 0.8106 MB / 0.4921 GB, free: 98.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008452/0.277, allocations: 238.8 kB / 0.4923 GB, free: 97.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009554/0.278, allocations: 0.4901 MB / 0.4928 GB, free: 97.5 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.278, allocations: 4 kB / 0.4928 GB, free: 97.5 MB / 410.7 MB Notification: Performance of Templates: time 0.03563/0.3136, allocations: 27.95 MB / 0.5201 GB, free: 70.02 MB / 410.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=240 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9681474398821592]