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.0009647/0.0009647, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.055/1.055, allocations: 177.2 MB / 200.3 MB, free: 5.352 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.001327/0.001327, allocations: 166.2 kB / 256.9 MB, free: 12.8 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.02419/0.02419, allocations: 6.657 MB / 320.1 MB, free: 26.34 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_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: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 0 / 392.1 MB, free: 2.262 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.527e-05, allocations: 2.312 kB / 392.1 MB, free: 2.258 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.0139/0.01393, allocations: 13.19 MB / 405.3 MB, free: 5 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008153/0.02208, allocations: 4.501 MB / 409.8 MB, free: 496 kB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001717/0.0238, allocations: 111.3 kB / 409.9 MB, free: 384 kB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1695/0.1933, allocations: 1.039 MB / 410.9 MB, free: 69.74 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005754/0.199, allocations: 1.329 MB / 412.3 MB, free: 69.62 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002541/0.2016, allocations: 0.8931 MB / 413.2 MB, free: 69.61 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005819/0.2074, allocations: 4.274 MB / 417.4 MB, free: 68.52 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003484/0.2109, allocations: 1.908 MB / 419.3 MB, free: 67.96 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007486/0.2184, allocations: 2.949 MB / 422.3 MB, free: 66.65 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003947/0.2223, allocations: 2.011 MB / 424.3 MB, free: 66.05 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001793/0.2241, allocations: 0.5202 MB / 424.8 MB, free: 66.05 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00277/0.2269, allocations: 0.7337 MB / 425.5 MB, free: 66 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001388/0.2283, allocations: 1.187 MB / 426.7 MB, free: 65.27 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003555/0.2318, allocations: 1.498 MB / 428.2 MB, free: 64.57 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005018/0.2369, allocations: 3.544 MB / 431.8 MB, free: 62.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2369, allocations: 4.688 kB / 431.8 MB, free: 62.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2369, allocations: 0.5938 kB / 431.8 MB, free: 62.64 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001655/0.237, allocations: 0 / 431.8 MB, free: 62.64 MB / 330.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.006804/0.2438, allocations: 4.601 MB / 436.4 MB, free: 58.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.2439, allocations: 8.031 kB / 436.4 MB, free: 58.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00244/0.2463, allocations: 1.18 MB / 437.6 MB, free: 57.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0027/0.249, allocations: 2.255 MB / 439.8 MB, free: 55.44 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.2491, allocations: 245.4 kB / 440.1 MB, free: 55.2 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003024/0.2494, allocations: 336.5 kB / 440.4 MB, free: 54.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002941/0.2524, allocations: 2.485 MB / 442.9 MB, free: 52.46 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.13e-05/0.2524, allocations: 0 / 442.9 MB, free: 52.46 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001807/0.2526, allocations: 138.4 kB / 443 MB, free: 52.32 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.995e-05/0.2527, allocations: 162.7 kB / 443.2 MB, free: 52.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.2542, allocations: 0.9673 MB / 444.1 MB, free: 51.19 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01189/0.2661, allocations: 11.31 MB / 455.4 MB, free: 40.26 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00197/0.268, allocations: 1.677 MB / 457.1 MB, free: 38.76 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005952/0.2686, allocations: 0.5676 MB / 457.7 MB, free: 38.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002594/0.2712, allocations: 2.147 MB / 459.8 MB, free: 36.12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.2712, allocations: 50.39 kB / 459.9 MB, free: 36.06 MB / 330.7 MB Notification: Performance of pre-optimization done (n=115): time 2.114e-06/0.2713, allocations: 3.375 kB / 459.9 MB, free: 36.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=118): time 0.004318/0.2756, allocations: 2.592 MB / 462.5 MB, free: 33.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.2756, allocations: 64.41 kB / 462.5 MB, free: 33.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.2766, allocations: 1.316 MB / 463.9 MB, free: 32.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.776e-05/0.2767, allocations: 45.7 kB / 463.9 MB, free: 32.2 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006588/0.2773, allocations: 1.643 MB / 465.5 MB, free: 30.62 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002369/0.2775, allocations: 450.9 kB / 466 MB, free: 30.2 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002896/0.2778, allocations: 322.6 kB / 466.3 MB, free: 29.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.284e-05/0.2779, allocations: 476.8 kB / 466.8 MB, free: 29.44 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.2781, allocations: 171.8 kB / 466.9 MB, free: 29.27 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004558/0.2786, allocations: 0.9361 MB / 467.9 MB, free: 28.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008482/0.2794, allocations: 1.222 MB / 469.1 MB, free: 26.65 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/0.2794, allocations: 4 kB / 469.1 MB, free: 26.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001325/0.2808, allocations: 1.248 MB / 470.3 MB, free: 25.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.2808, allocations: 12 kB / 470.4 MB, free: 25.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.2808, allocations: 19.94 kB / 470.4 MB, free: 25.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002134/0.281, allocations: 109.5 kB / 470.5 MB, free: 25.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000697/0.2817, allocations: 382.6 kB / 470.9 MB, free: 24.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/0.2833, allocations: 3.865 MB / 474.7 MB, free: 20.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006506/0.284, allocations: 55.94 kB / 474.8 MB, free: 20.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.328e-05/0.284, allocations: 59.98 kB / 474.8 MB, free: 20.82 MB / 330.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.0006992/0.2847, allocations: 260.6 kB / 475.1 MB, free: 20.58 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.2849, allocations: 206.9 kB / 475.3 MB, free: 20.38 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.2863, allocations: 1.099 MB / 476.4 MB, free: 19.29 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.2863, allocations: 15.94 kB / 476.4 MB, free: 19.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/0.2863, allocations: 4 kB / 476.4 MB, free: 19.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.2863, allocations: 7.984 kB / 476.4 MB, free: 19.26 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003542/0.2898, allocations: 2.714 MB / 479.1 MB, free: 16.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.2898, allocations: 0 / 479.1 MB, free: 16.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003652/0.2902, allocations: 155.2 kB / 479.3 MB, free: 16.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007348/0.2909, allocations: 385.7 kB / 479.7 MB, free: 16.19 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.534e-05/0.291, allocations: 35.98 kB / 479.7 MB, free: 16.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004874/0.2959, allocations: 11.2 MB / 490.9 MB, free: 4.527 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.2959, allocations: 7.656 kB / 490.9 MB, free: 4.523 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/0.2977, allocations: 1.482 MB / 492.4 MB, free: 3.027 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004001/0.2981, allocations: 278.8 kB / 492.7 MB, free: 2.754 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.2982, allocations: 35.98 kB / 492.7 MB, free: 2.719 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003386/0.2985, allocations: 43.98 kB / 492.7 MB, free: 2.676 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000195/0.2987, allocations: 104 kB / 492.8 MB, free: 2.578 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.2988, allocations: 27.98 kB / 492.9 MB, free: 2.551 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005466/0.2993, allocations: 0.7021 MB / 493.6 MB, free: 1.914 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2993, allocations: 0 / 493.6 MB, free: 1.914 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001553/0.3009, allocations: 0.5468 MB / 494.1 MB, free: 1.367 MB / 330.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.000259/0.3011, allocations: 167.3 kB / 494.3 MB, free: 1.203 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001276/0.3024, allocations: 1.119 MB / 495.4 MB, free: 132 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.3024, allocations: 0 / 495.4 MB, free: 132 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00137/0.3038, allocations: 1.431 MB / 496.8 MB, free: 14.64 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/0.3052, allocations: 465.8 kB / 497.3 MB, free: 14.2 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008747/0.3139, allocations: 4.977 MB / 0.4905 GB, free: 9.184 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008684/0.3148, allocations: 0.8067 MB / 0.4913 GB, free: 8.359 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008208/0.3156, allocations: 234.8 kB / 0.4915 GB, free: 8.125 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008778/0.3165, allocations: 0.4979 MB / 0.492 GB, free: 7.625 MB / 346.7 MB Notification: Performance of SimCode: time 1.413e-06/0.3165, allocations: 0 / 0.492 GB, free: 7.625 MB / 346.7 MB Notification: Performance of Templates: time 0.04634/0.3628, allocations: 27.5 MB / 0.5188 GB, free: 12.66 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8410757719539106]