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.001671/0.001671, allocations: 88.72 kB / 19.44 MB, free: 356 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.652/1.652, allocations: 177.1 MB / 199.7 MB, free: 5.816 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.001998/0.001998, allocations: 156.7 kB / 256.3 MB, free: 13.17 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.03844/0.03844, allocations: 6.654 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_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.635e-06/2.635e-06, allocations: 0 / 390.9 MB, free: 2.965 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.396e-05/4.66e-05, allocations: 6.25 kB / 390.9 MB, free: 2.957 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.0225/0.02255, allocations: 12.07 MB / 403 MB, free: 6.828 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01329/0.03584, allocations: 4.373 MB / 407.4 MB, free: 2.441 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004481/0.04032, allocations: 111.3 kB / 407.5 MB, free: 2.332 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005054/0.04537, allocations: 1.056 MB / 408.5 MB, free: 1.27 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.2099/0.2553, allocations: 1.325 MB / 409.8 MB, free: 69.49 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003928/0.2592, allocations: 0.8906 MB / 410.7 MB, free: 69.49 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008197/0.2674, allocations: 4.279 MB / 415 MB, free: 68.56 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005304/0.2727, allocations: 1.899 MB / 416.9 MB, free: 68.32 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00987/0.2826, allocations: 2.915 MB / 419.8 MB, free: 67.29 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005801/0.2884, allocations: 1.806 MB / 421.6 MB, free: 66.71 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002763/0.2911, allocations: 0.524 MB / 422.2 MB, free: 66.71 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004635/0.2958, allocations: 0.7286 MB / 422.9 MB, free: 66.67 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002962/0.2987, allocations: 1.179 MB / 424.1 MB, free: 65.94 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006408/0.3051, allocations: 1.475 MB / 425.5 MB, free: 65.25 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01191/0.317, allocations: 7.002 MB / 432.5 MB, free: 61.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.063e-05/0.317, allocations: 3.125 kB / 432.5 MB, free: 61.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.3171, allocations: 0.5 kB / 432.5 MB, free: 61.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002862/0.3173, allocations: 1.781 kB / 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.0164/0.3337, allocations: 4.449 MB / 437 MB, free: 57.29 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.3338, allocations: 12.03 kB / 437 MB, free: 57.28 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007207/0.341, allocations: 1.254 MB / 438.3 MB, free: 56.03 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006202/0.3472, allocations: 2.536 MB / 440.8 MB, free: 53.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003292/0.3475, allocations: 251.1 kB / 441 MB, free: 53.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00156/0.3491, allocations: 338.5 kB / 441.4 MB, free: 53 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01387/0.363, allocations: 4.669 MB / 446 MB, free: 48.26 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002305/0.3632, allocations: 3.953 kB / 446.1 MB, free: 48.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001443/0.3646, allocations: 135.9 kB / 446.2 MB, free: 48.12 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002139/0.3649, allocations: 161.4 kB / 446.3 MB, free: 47.96 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01028/0.3751, allocations: 3.809 MB / 450.1 MB, free: 44.15 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03018/0.4053, allocations: 12.35 MB / 462.5 MB, free: 31.76 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0055/0.4108, allocations: 2.406 MB / 464.9 MB, free: 29.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002379/0.4132, allocations: 1.108 MB / 466 MB, free: 28.39 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007441/0.4206, allocations: 2.807 MB / 468.8 MB, free: 25.61 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/0.4207, allocations: 51.3 kB / 468.9 MB, free: 25.55 MB / 330.7 MB Notification: Performance of pre-optimization done (n=115): time 4.258e-06/0.4207, allocations: 0 / 468.9 MB, free: 25.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=118): time 0.01269/0.4334, allocations: 4.703 MB / 473.6 MB, free: 20.83 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.495e-05/0.4334, allocations: 68.41 kB / 473.6 MB, free: 20.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002942/0.4364, allocations: 1.503 MB / 475.1 MB, free: 19.24 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002815/0.4367, allocations: 49.7 kB / 475.2 MB, free: 19.19 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009141/0.4376, allocations: 1.545 MB / 476.7 MB, free: 17.63 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005317/0.4381, allocations: 439 kB / 477.2 MB, free: 17.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007681/0.4389, allocations: 283.5 kB / 477.4 MB, free: 16.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.426e-05/0.4389, allocations: 305.1 kB / 477.7 MB, free: 16.63 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00119/0.4401, allocations: 0.6246 MB / 478.4 MB, free: 16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/0.4416, allocations: 1.166 MB / 479.5 MB, free: 14.62 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002779/0.4443, allocations: 1.877 MB / 481.4 MB, free: 12.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.507e-05/0.4444, allocations: 4 kB / 481.4 MB, free: 12.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004998/0.4494, allocations: 2.182 MB / 483.6 MB, free: 10.49 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.181e-05/0.4494, allocations: 12.38 kB / 483.6 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.191e-05/0.4495, allocations: 23.94 kB / 483.6 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005101/0.45, allocations: 138.5 kB / 483.8 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001752/0.4517, allocations: 393.1 kB / 484.1 MB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002761/0.4545, allocations: 3.117 MB / 487.3 MB, free: 6.652 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002078/0.4566, allocations: 75.91 kB / 487.3 MB, free: 6.578 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004371/0.457, allocations: 72 kB / 487.4 MB, free: 6.508 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.002856/0.4599, allocations: 1.044 MB / 488.5 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007795/0.4606, allocations: 214.9 kB / 488.7 MB, free: 5.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004474/0.4651, allocations: 1.865 MB / 490.5 MB, free: 3.406 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.24e-05/0.4651, allocations: 19.94 kB / 490.5 MB, free: 3.387 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.831e-05/0.4652, allocations: 4 kB / 490.6 MB, free: 3.383 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.331e-05/0.4652, allocations: 7.984 kB / 490.6 MB, free: 3.375 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01082/0.476, allocations: 3.919 MB / 494.5 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-05/0.476, allocations: 0 / 494.5 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/0.4771, allocations: 158.6 kB / 494.6 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002382/0.4795, allocations: 0.5014 MB / 495.1 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003053/0.4798, allocations: 35.98 kB / 495.2 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01775/0.4975, allocations: 10.38 MB / 0.4937 GB, free: 3.926 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/0.4976, allocations: 8.312 kB / 0.4937 GB, free: 3.918 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007475/0.505, allocations: 2.734 MB / 0.4964 GB, free: 1.16 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001567/0.5066, allocations: 302.8 kB / 0.4967 GB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008/0.5074, allocations: 39.94 kB / 0.4967 GB, free: 0.8242 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001528/0.5089, allocations: 59.95 kB / 0.4968 GB, free: 0.7656 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005542/0.5095, allocations: 104.2 kB / 0.4969 GB, free: 0.668 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002319/0.5097, allocations: 35.98 kB / 0.4969 GB, free: 0.6328 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003072/0.5128, allocations: 1.006 MB / 0.4979 GB, free: 15.63 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5128, allocations: 0 / 0.4979 GB, free: 15.63 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003968/0.5168, allocations: 0.5507 MB / 0.4984 GB, free: 15.08 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.0007763/0.5175, allocations: 158 kB / 0.4986 GB, free: 14.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005277/0.5228, allocations: 1.708 MB / 0.5002 GB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/0.5228, allocations: 0 / 0.5002 GB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003765/0.5266, allocations: 1.438 MB / 0.5016 GB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004042/0.5306, allocations: 466.7 kB / 0.5021 GB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01738/0.548, allocations: 5.622 MB / 0.5076 GB, free: 5.648 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005341/0.5533, allocations: 1.812 MB / 0.5093 GB, free: 3.805 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002146/0.5555, allocations: 366.6 kB / 0.5097 GB, free: 3.441 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006761/0.5562, allocations: 116.5 kB / 0.5098 GB, free: 3.328 MB / 362.7 MB Notification: Performance of SimCode: time 2.244e-06/0.5562, allocations: 0 / 0.5098 GB, free: 3.328 MB / 362.7 MB Notification: Performance of Templates: time 0.06129/0.6175, allocations: 25.52 MB / 0.5347 GB, free: 10.27 MB / 394.7 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.881185943959281]