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.0009386/0.0009386, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.064/1.064, allocations: 177.1 MB / 200.5 MB, free: 5.816 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.001403/0.001403, allocations: 168.6 kB / 257 MB, free: 13.19 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.02449/0.02449, allocations: 6.658 MB / 320.1 MB, free: 26.57 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 1.603e-06/1.603e-06, allocations: 0 / 391.7 MB, free: 2.945 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.599e-05, allocations: 2.312 kB / 391.7 MB, free: 2.941 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.01144/0.01147, allocations: 13.44 MB / 405.1 MB, free: 5.43 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008401/0.01987, allocations: 4.521 MB / 409.6 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002447/0.02231, allocations: 111.3 kB / 409.7 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1556/0.178, allocations: 1.034 MB / 410.8 MB, free: 69.42 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005219/0.1832, allocations: 1.331 MB / 412.1 MB, free: 69.34 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002505/0.1857, allocations: 0.9078 MB / 413 MB, free: 69.32 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005736/0.1914, allocations: 4.28 MB / 417.3 MB, free: 68.23 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003385/0.1948, allocations: 1.906 MB / 419.2 MB, free: 67.77 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005625/0.2004, allocations: 2.94 MB / 422.1 MB, free: 66.46 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004105/0.2045, allocations: 1.993 MB / 424.1 MB, free: 65.87 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001749/0.2063, allocations: 0.5231 MB / 424.6 MB, free: 65.87 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002446/0.2087, allocations: 0.7385 MB / 425.4 MB, free: 65.82 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001083/0.2098, allocations: 1.189 MB / 426.6 MB, free: 65.09 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003069/0.2129, allocations: 1.5 MB / 428.1 MB, free: 64.39 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00475/0.2176, allocations: 3.558 MB / 431.6 MB, free: 62.69 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2176, allocations: 0 / 431.6 MB, free: 62.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2176, allocations: 0.9688 kB / 431.6 MB, free: 62.69 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001775/0.2178, allocations: 0 / 431.6 MB, free: 62.69 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.00714/0.225, allocations: 4.712 MB / 436.3 MB, free: 58.9 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.225, allocations: 12.03 kB / 436.4 MB, free: 58.89 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002892/0.2279, allocations: 1.256 MB / 437.6 MB, free: 57.64 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002792/0.2307, allocations: 2.361 MB / 440 MB, free: 55.35 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.553e-05/0.2308, allocations: 253.7 kB / 440.2 MB, free: 55.1 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002994/0.2311, allocations: 332.3 kB / 440.5 MB, free: 54.78 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003719/0.2348, allocations: 2.691 MB / 443.2 MB, free: 52.01 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.248e-05/0.2349, allocations: 11.94 kB / 443.2 MB, free: 52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001979/0.2351, allocations: 142.8 kB / 443.4 MB, free: 51.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.837e-05/0.2352, allocations: 158.7 kB / 443.5 MB, free: 51.71 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002479/0.2376, allocations: 1.254 MB / 444.8 MB, free: 50.45 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01276/0.2504, allocations: 11.34 MB / 456.1 MB, free: 39.05 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002506/0.2529, allocations: 1.823 MB / 458 MB, free: 37.38 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008658/0.2538, allocations: 0.6404 MB / 458.6 MB, free: 36.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003079/0.2568, allocations: 2.182 MB / 460.8 MB, free: 34.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.2569, allocations: 46.39 kB / 460.8 MB, free: 34.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=115): time 2.936e-06/0.2569, allocations: 4 kB / 460.8 MB, free: 34.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=118): time 0.005442/0.2623, allocations: 3.164 MB / 464 MB, free: 31.33 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.2624, allocations: 64.41 kB / 464.1 MB, free: 31.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.2636, allocations: 1.35 MB / 465.4 MB, free: 29.88 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.294e-05/0.2637, allocations: 45.7 kB / 465.4 MB, free: 29.83 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005567/0.2642, allocations: 1.626 MB / 467.1 MB, free: 28.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002135/0.2644, allocations: 457.2 kB / 467.5 MB, free: 27.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002656/0.2647, allocations: 309.1 kB / 467.8 MB, free: 27.45 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.107e-05/0.2647, allocations: 476.8 kB / 468.3 MB, free: 26.98 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003616/0.2651, allocations: 227.8 kB / 468.5 MB, free: 26.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005758/0.2657, allocations: 0.9772 MB / 469.5 MB, free: 25.47 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.2667, allocations: 1.306 MB / 470.8 MB, free: 23.93 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/0.2668, allocations: 8 kB / 470.8 MB, free: 23.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001597/0.2683, allocations: 1.365 MB / 472.2 MB, free: 22.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.2684, allocations: 12 kB / 472.2 MB, free: 22.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.2684, allocations: 19.94 kB / 472.2 MB, free: 22.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002825/0.2687, allocations: 111.4 kB / 472.3 MB, free: 22.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008125/0.2695, allocations: 395 kB / 472.7 MB, free: 22.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/0.2711, allocations: 3.916 MB / 476.6 MB, free: 18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007882/0.2719, allocations: 72.08 kB / 476.7 MB, free: 17.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.492e-05/0.2719, allocations: 72 kB / 476.7 MB, free: 17.86 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.0007252/0.2727, allocations: 263 kB / 477 MB, free: 17.62 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.2728, allocations: 214.8 kB / 477.2 MB, free: 17.41 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/0.2744, allocations: 1.173 MB / 478.4 MB, free: 16.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.2744, allocations: 12 kB / 478.4 MB, free: 16.22 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.2744, allocations: 8 kB / 478.4 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.2744, allocations: 3.984 kB / 478.4 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003909/0.2783, allocations: 3.38 MB / 481.8 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.2783, allocations: 128 / 481.8 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003807/0.2787, allocations: 159.1 kB / 481.9 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007765/0.2795, allocations: 394.3 kB / 482.3 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.612e-05/0.2795, allocations: 35.98 kB / 482.4 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004671/0.2842, allocations: 11.43 MB / 493.8 MB, free: 244 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.2842, allocations: 4.031 kB / 493.8 MB, free: 240 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/0.2866, allocations: 1.607 MB / 495.4 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005356/0.2871, allocations: 294.8 kB / 495.7 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/0.2873, allocations: 31.94 kB / 495.7 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000394/0.2877, allocations: 55.95 kB / 495.8 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000236/0.2879, allocations: 104.5 kB / 495.9 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.782e-05/0.288, allocations: 40.11 kB / 495.9 MB, free: 14.07 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009711/0.2889, allocations: 0.7676 MB / 496.7 MB, free: 13.31 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2889, allocations: 0 / 496.7 MB, free: 13.31 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001667/0.2906, allocations: 0.5507 MB / 497.2 MB, free: 12.76 MB / 346.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.0004689/0.2911, allocations: 158.7 kB / 497.4 MB, free: 12.6 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001624/0.2927, allocations: 1.198 MB / 498.6 MB, free: 11.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2927, allocations: 0 / 498.6 MB, free: 11.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.294, allocations: 1.468 MB / 0.4883 GB, free: 9.883 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.2952, allocations: 469 kB / 0.4888 GB, free: 9.445 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007409/0.3026, allocations: 5.001 MB / 0.4937 GB, free: 4.387 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007197/0.3034, allocations: 0.8145 MB / 0.4945 GB, free: 3.555 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008441/0.3042, allocations: 318.6 kB / 0.4948 GB, free: 3.238 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/0.3044, allocations: 116.5 kB / 0.4949 GB, free: 3.125 MB / 346.7 MB Notification: Performance of SimCode: time 1.864e-06/0.3044, allocations: 4 kB / 0.4949 GB, free: 3.121 MB / 346.7 MB Notification: Performance of Templates: time 0.03591/0.3403, allocations: 25.56 MB / 0.5198 GB, free: 10.02 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.787217414006591]