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.0008458/0.0008458, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001142/0.001988, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.005/1.005, allocations: 177.2 MB / 188.2 MB, free: 4.492 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1955/1.2, allocations: 53.64 MB / 241.9 MB, free: 2.727 MB / 234.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.001655/0.001655, allocations: 156 kB / 242.8 MB, free: 1.871 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001676/0.003331, allocations: 482.2 kB / 243.2 MB, free: 1.414 MB / 234.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.0373/0.0373, allocations: 6.65 MB / 250.6 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00727/0.04457, allocations: 2.666 MB / 253.3 MB, free: 7.555 MB / 250.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.272e-06/1.272e-06, allocations: 0 / 254.6 MB, free: 6.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.575e-05, allocations: 8.359 kB / 254.6 MB, free: 6.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.0122/0.01223, allocations: 13.32 MB / 267.9 MB, free: 8.895 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009125/0.02135, allocations: 4.717 MB / 272.6 MB, free: 4.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002232/0.02358, allocations: 111.3 kB / 272.7 MB, free: 4.051 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002301/0.02588, allocations: 1.072 MB / 273.8 MB, free: 2.973 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003549/0.02943, allocations: 1.327 MB / 275.1 MB, free: 1.637 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001663/0.0311, allocations: 0.891 MB / 276 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004219/0.03532, allocations: 4.312 MB / 280.3 MB, free: 12.42 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002664/0.03798, allocations: 1.953 MB / 282.3 MB, free: 10.38 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0048/0.04278, allocations: 3.174 MB / 285.4 MB, free: 7.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002924/0.0457, allocations: 2.011 MB / 287.4 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001169/0.04687, allocations: 0.5234 MB / 288 MB, free: 4.641 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00181/0.04868, allocations: 0.7417 MB / 288.7 MB, free: 3.898 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001204/0.04989, allocations: 0.9585 MB / 289.7 MB, free: 2.938 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00188/0.05177, allocations: 1.252 MB / 290.9 MB, free: 1.684 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004131/0.0559, allocations: 3.365 MB / 294.3 MB, free: 14.31 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.657e-05/0.05592, allocations: 4 kB / 294.3 MB, free: 14.3 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.05592, allocations: 0 / 294.3 MB, free: 14.3 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001593/0.05608, allocations: 0 / 294.3 MB, free: 14.3 MB / 298.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.007787/0.06386, allocations: 5.154 MB / 299.4 MB, free: 9.082 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.0639, allocations: 11.97 kB / 299.5 MB, free: 9.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002649/0.06655, allocations: 1.124 MB / 300.6 MB, free: 7.945 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002813/0.06937, allocations: 1.494 MB / 302.1 MB, free: 6.395 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001632/0.06953, allocations: 247.1 kB / 302.3 MB, free: 6.152 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003574/0.06989, allocations: 340.3 kB / 302.6 MB, free: 5.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003253/0.07314, allocations: 2.535 MB / 305.2 MB, free: 3.203 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.888e-05/0.0732, allocations: 7.938 kB / 305.2 MB, free: 3.195 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001873/0.07339, allocations: 136 kB / 305.3 MB, free: 3.062 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001121/0.0735, allocations: 158.7 kB / 305.5 MB, free: 2.906 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.07514, allocations: 0.9846 MB / 306.5 MB, free: 1.91 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01075/0.08589, allocations: 9.054 MB / 315.5 MB, free: 8.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002129/0.08802, allocations: 1.544 MB / 317.1 MB, free: 6.922 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007754/0.08879, allocations: 0.5173 MB / 317.6 MB, free: 6.395 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002417/0.09121, allocations: 1.688 MB / 319.3 MB, free: 4.684 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.09124, allocations: 43.56 kB / 319.3 MB, free: 4.633 MB / 314.7 MB Notification: Performance of pre-optimization done (n=115): time 2.164e-06/0.09124, allocations: 4 kB / 319.3 MB, free: 4.629 MB / 314.7 MB Notification: Performance of matching and sorting (n=118): time 0.003814/0.09506, allocations: 2.39 MB / 321.7 MB, free: 2.199 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.09509, allocations: 68.34 kB / 321.8 MB, free: 2.117 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008034/0.09589, allocations: 1.109 MB / 322.9 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.299e-05/0.09594, allocations: 45.7 kB / 322.9 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005251/0.09647, allocations: 1.349 MB / 324.3 MB, free: 15.58 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002056/0.09668, allocations: 428.2 kB / 324.7 MB, free: 15.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004016/0.09708, allocations: 291.3 kB / 325 MB, free: 14.87 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.493e-05/0.09714, allocations: 301.1 kB / 325.3 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/0.09737, allocations: 178.8 kB / 325.4 MB, free: 14.4 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004251/0.09779, allocations: 0.6913 MB / 326.1 MB, free: 13.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000761/0.09855, allocations: 1.003 MB / 327.1 MB, free: 12.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.09856, allocations: 4 kB / 327.1 MB, free: 12.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001042/0.0996, allocations: 0.9984 MB / 328.1 MB, free: 11.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.09963, allocations: 15.94 kB / 328.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.09964, allocations: 16 kB / 328.2 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002036/0.09985, allocations: 94.52 kB / 328.3 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000923/0.1008, allocations: 460.5 kB / 328.7 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/0.1022, allocations: 2.763 MB / 331.5 MB, free: 7.703 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005177/0.1027, allocations: 64.16 kB / 331.5 MB, free: 7.641 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.98e-05/0.1028, allocations: 60 kB / 331.6 MB, free: 7.582 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.0005335/0.1033, allocations: 220.1 kB / 331.8 MB, free: 7.355 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.1035, allocations: 135.8 kB / 331.9 MB, free: 7.223 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/0.1046, allocations: 0.9147 MB / 332.9 MB, free: 6.273 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.1046, allocations: 12 kB / 332.9 MB, free: 6.262 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.1046, allocations: 4 kB / 332.9 MB, free: 6.258 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.1046, allocations: 11.97 kB / 332.9 MB, free: 6.246 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002657/0.1073, allocations: 2.059 MB / 334.9 MB, free: 4.125 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.79e-06/0.1073, allocations: 4 kB / 335 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004455/0.1077, allocations: 171.8 kB / 335.1 MB, free: 3.953 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003004/0.108, allocations: 178.9 kB / 335.3 MB, free: 3.777 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006606/0.1087, allocations: 347.8 kB / 335.6 MB, free: 3.426 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.287e-05/0.1087, allocations: 31.98 kB / 335.7 MB, free: 3.395 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1616/0.2703, allocations: 8.243 MB / 343.9 MB, free: 50.08 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.2703, allocations: 5.141 kB / 343.9 MB, free: 50.08 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002154/0.2725, allocations: 1.231 MB / 345.1 MB, free: 49.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002617/0.2727, allocations: 30.69 kB / 345.2 MB, free: 49.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004743/0.2732, allocations: 46.62 kB / 345.2 MB, free: 49.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002646/0.2735, allocations: 99.44 kB / 345.3 MB, free: 49.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-05/0.2735, allocations: 24.84 kB / 345.3 MB, free: 49.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000825/0.2743, allocations: 0.5527 MB / 345.9 MB, free: 49.72 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2743, allocations: 0 / 345.9 MB, free: 49.72 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001684/0.276, allocations: 0.5434 MB / 346.4 MB, free: 49.72 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.0002929/0.2763, allocations: 139.6 kB / 346.6 MB, free: 49.65 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001296/0.2776, allocations: 0.933 MB / 347.5 MB, free: 49.38 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.628e-05/0.2777, allocations: 32.38 kB / 347.5 MB, free: 49.38 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.2787, allocations: 1.105 MB / 348.6 MB, free: 48.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.2798, allocations: 0.5866 MB / 349.2 MB, free: 48.77 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02163/0.3014, allocations: 5.038 MB / 354.3 MB, free: 46.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007041/0.3021, allocations: 0.6629 MB / 354.9 MB, free: 46.54 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008825/0.303, allocations: 236.8 kB / 355.2 MB, free: 46.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006802/0.3037, allocations: 451 kB / 355.6 MB, free: 46.45 MB / 330.7 MB Notification: Performance of SimCode: time 2.004e-06/0.3037, allocations: 3.938 kB / 355.6 MB, free: 46.45 MB / 330.7 MB Notification: Performance of Templates: time 0.03857/0.3423, allocations: 29.11 MB / 384.7 MB, free: 26.51 MB / 330.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.3990556988865137]