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.001679/0.001679, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.683/1.683, allocations: 177.1 MB / 199.7 MB, free: 5.789 MB / 186.7 MB " [Timeout remaining time 178] 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.001941/0.001941, allocations: 152.7 kB / 256.3 MB, free: 13.15 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.03739/0.03739, allocations: 6.656 MB / 319.4 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_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.774e-06/1.774e-06, allocations: 0 / 390.9 MB, free: 2.949 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.492e-05/3.669e-05, allocations: 2.312 kB / 390.9 MB, free: 2.945 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.02071/0.02075, allocations: 12.09 MB / 403 MB, free: 6.797 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01336/0.03411, allocations: 4.376 MB / 407.4 MB, free: 2.406 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003987/0.03809, allocations: 115.2 kB / 407.5 MB, free: 2.293 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005116/0.04321, allocations: 1.052 MB / 408.6 MB, free: 1.234 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.2112/0.2544, allocations: 1.329 MB / 409.9 MB, free: 69.49 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003982/0.2584, allocations: 0.8927 MB / 410.8 MB, free: 69.49 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008395/0.2667, allocations: 4.274 MB / 415.1 MB, free: 68.55 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004842/0.2716, allocations: 1.899 MB / 417 MB, free: 68.31 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009717/0.2813, allocations: 2.91 MB / 419.9 MB, free: 67.27 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005547/0.2869, allocations: 1.811 MB / 421.7 MB, free: 66.69 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002272/0.2891, allocations: 0.5237 MB / 422.2 MB, free: 66.69 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003871/0.293, allocations: 0.7307 MB / 422.9 MB, free: 66.64 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002341/0.2953, allocations: 1.172 MB / 424.1 MB, free: 65.92 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005548/0.3009, allocations: 1.484 MB / 425.6 MB, free: 65.22 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01132/0.3122, allocations: 7.008 MB / 432.6 MB, free: 61.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.499e-05/0.3122, allocations: 1.094 kB / 432.6 MB, free: 61.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.3122, allocations: 0 / 432.6 MB, free: 61.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003531/0.3126, allocations: 0 / 432.6 MB, free: 61.12 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.01757/0.3301, allocations: 4.445 MB / 437 MB, free: 57.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.52e-05/0.3302, allocations: 8.938 kB / 437.1 MB, free: 57.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00672/0.3369, allocations: 1.255 MB / 438.3 MB, free: 56.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005739/0.3427, allocations: 2.547 MB / 440.9 MB, free: 53.61 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002383/0.3429, allocations: 245.7 kB / 441.1 MB, free: 53.37 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00125/0.3442, allocations: 342.9 kB / 441.4 MB, free: 53.04 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01103/0.3552, allocations: 4.661 MB / 446.1 MB, free: 48.3 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001392/0.3553, allocations: 7.953 kB / 446.1 MB, free: 48.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007353/0.3561, allocations: 143 kB / 446.2 MB, free: 48.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001762/0.3562, allocations: 160.3 kB / 446.4 MB, free: 48.01 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008227/0.3645, allocations: 3.805 MB / 450.2 MB, free: 44.2 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02529/0.3898, allocations: 12.35 MB / 462.6 MB, free: 31.8 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00499/0.3948, allocations: 2.39 MB / 464.9 MB, free: 29.56 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002074/0.3968, allocations: 1.113 MB / 466.1 MB, free: 28.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005878/0.4027, allocations: 2.801 MB / 468.9 MB, free: 25.67 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.4027, allocations: 51.55 kB / 468.9 MB, free: 25.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=115): time 4.428e-06/0.4027, allocations: 4 kB / 468.9 MB, free: 25.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=118): time 0.01106/0.4138, allocations: 4.703 MB / 473.6 MB, free: 20.89 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.4139, allocations: 64.41 kB / 473.7 MB, free: 20.82 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002304/0.4162, allocations: 1.51 MB / 475.2 MB, free: 19.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000275/0.4164, allocations: 45.7 kB / 475.2 MB, free: 19.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007849/0.4172, allocations: 1.552 MB / 476.8 MB, free: 17.69 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005086/0.4177, allocations: 434.1 kB / 477.2 MB, free: 17.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005165/0.4182, allocations: 287.5 kB / 477.5 MB, free: 16.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.264e-05/0.4183, allocations: 301.1 kB / 477.8 MB, free: 16.69 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.4193, allocations: 0.6286 MB / 478.4 MB, free: 16.06 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/0.4206, allocations: 1.156 MB / 479.6 MB, free: 14.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002361/0.423, allocations: 1.879 MB / 481.4 MB, free: 12.65 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.615e-05/0.423, allocations: 6.938 kB / 481.5 MB, free: 12.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003734/0.4267, allocations: 2.185 MB / 483.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.031e-05/0.4268, allocations: 15.94 kB / 483.7 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.452e-05/0.4268, allocations: 19.94 kB / 483.7 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004468/0.4272, allocations: 138.5 kB / 483.8 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/0.4288, allocations: 396.9 kB / 484.2 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00227/0.4311, allocations: 3.117 MB / 487.3 MB, free: 6.711 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/0.4329, allocations: 75.91 kB / 487.4 MB, free: 6.637 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002638/0.4331, allocations: 69.97 kB / 487.5 MB, free: 6.57 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.002423/0.4355, allocations: 1.053 MB / 488.5 MB, free: 5.531 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006463/0.4362, allocations: 206.9 kB / 488.7 MB, free: 5.328 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003632/0.4398, allocations: 1.868 MB / 490.6 MB, free: 3.465 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/0.4398, allocations: 12 kB / 490.6 MB, free: 3.453 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/0.4398, allocations: 8 kB / 490.6 MB, free: 3.445 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/0.4399, allocations: 3.984 kB / 490.6 MB, free: 3.441 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007958/0.4478, allocations: 3.915 MB / 494.5 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/0.4478, allocations: 4 kB / 494.5 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008761/0.4487, allocations: 159 kB / 494.7 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001921/0.4506, allocations: 0.5037 MB / 495.2 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001937/0.4508, allocations: 31.98 kB / 495.2 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01487/0.4657, allocations: 10.39 MB / 0.4938 GB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/0.4657, allocations: 0 / 0.4938 GB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006804/0.4725, allocations: 2.729 MB / 0.4964 GB, free: 1.23 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001344/0.4739, allocations: 310.1 kB / 0.4967 GB, free: 0.9297 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004428/0.4743, allocations: 31.94 kB / 0.4967 GB, free: 0.8984 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.4754, allocations: 63.95 kB / 0.4968 GB, free: 0.8359 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000384/0.4758, allocations: 100.8 kB / 0.4969 GB, free: 0.7383 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.4759, allocations: 35.98 kB / 0.4969 GB, free: 0.7031 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002189/0.4781, allocations: 1.006 MB / 0.4979 GB, free: 15.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4781, allocations: 0 / 0.4979 GB, free: 15.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003026/0.4811, allocations: 0.5468 MB / 0.4985 GB, free: 15.15 MB / 362.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.0005475/0.4816, allocations: 170 kB / 0.4986 GB, free: 14.99 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003932/0.4856, allocations: 1.699 MB / 0.5003 GB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-05/0.4856, allocations: 6 kB / 0.5003 GB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003137/0.4887, allocations: 1.435 MB / 0.5017 GB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002989/0.4917, allocations: 468.1 kB / 0.5021 GB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01407/0.5058, allocations: 5.622 MB / 0.5076 GB, free: 5.719 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003555/0.5093, allocations: 1.812 MB / 0.5094 GB, free: 3.875 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001732/0.5111, allocations: 366.6 kB / 0.5097 GB, free: 3.512 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004581/0.5115, allocations: 120.4 kB / 0.5098 GB, free: 3.395 MB / 362.7 MB Notification: Performance of SimCode: time 2.344e-06/0.5115, allocations: 0 / 0.5098 GB, free: 3.395 MB / 362.7 MB Notification: Performance of Templates: time 0.05811/0.5696, allocations: 25.53 MB / 0.5348 GB, free: 10.33 MB / 394.7 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: 7.270340829039924]