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.001313/0.001313, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 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.402/1.402, allocations: 177.1 MB / 199.4 MB, free: 8.441 MB / 190.1 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.001634/0.001634, allocations: 167.9 kB / 256 MB, free: 4.316 MB / 238.1 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.03915/0.03915, allocations: 6.653 MB / 319 MB, free: 5.387 MB / 302.1 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.293e-06/1.293e-06, allocations: 0 / 445.9 MB, free: 25.17 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.261e-05, allocations: 5.094 kB / 445.9 MB, free: 25.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.01068/0.01071, allocations: 12.08 MB / 458 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007188/0.01789, allocations: 4.372 MB / 462.4 MB, free: 8.633 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002253/0.02015, allocations: 111.3 kB / 462.5 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002899/0.02305, allocations: 1.044 MB / 463.5 MB, free: 7.473 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004017/0.02706, allocations: 1.327 MB / 464.9 MB, free: 6.137 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00219/0.02925, allocations: 0.892 MB / 465.7 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004239/0.03349, allocations: 4.29 MB / 470 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003751/0.03724, allocations: 1.894 MB / 471.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005555/0.0428, allocations: 2.913 MB / 474.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004583/0.04738, allocations: 1.808 MB / 476.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001313/0.0487, allocations: 0.5234 MB / 477.2 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002322/0.05102, allocations: 0.7339 MB / 477.9 MB, free: 8.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0016/0.05262, allocations: 1.176 MB / 479.1 MB, free: 7.812 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002476/0.05509, allocations: 1.481 MB / 480.6 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2011/0.2562, allocations: 7.001 MB / 487.6 MB, free: 26.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2562, allocations: 0 / 487.6 MB, free: 26.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2562, allocations: 0.5938 kB / 487.6 MB, free: 26.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002195/0.2564, allocations: 0 / 487.6 MB, free: 26.06 MB / 350.1 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.01222/0.2686, allocations: 4.443 MB / 492 MB, free: 24.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.2687, allocations: 12.86 kB / 492 MB, free: 24.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004672/0.2733, allocations: 0.827 MB / 492.9 MB, free: 24.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005281/0.2786, allocations: 2.424 MB / 495.3 MB, free: 23.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001898/0.2788, allocations: 250.7 kB / 495.5 MB, free: 23.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000606/0.2794, allocations: 339.4 kB / 495.9 MB, free: 23.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009091/0.2885, allocations: 4.663 MB / 0.4888 GB, free: 23.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-05/0.2886, allocations: 5.281 kB / 0.4888 GB, free: 23.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003186/0.2889, allocations: 139.5 kB / 0.4889 GB, free: 23.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001925/0.2891, allocations: 159.9 kB / 0.4891 GB, free: 23.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006346/0.2954, allocations: 3.81 MB / 0.4928 GB, free: 21.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01901/0.3144, allocations: 12.08 MB / 0.5046 GB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004655/0.3191, allocations: 2.398 MB / 0.5069 GB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001542/0.3206, allocations: 1.108 MB / 0.508 GB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004611/0.3252, allocations: 2.778 MB / 0.5107 GB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.3253, allocations: 50.73 kB / 0.5108 GB, free: 9.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=115): time 3.256e-06/0.3253, allocations: 0 / 0.5108 GB, free: 9.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=118): time 0.009507/0.3348, allocations: 4.657 MB / 0.5153 GB, free: 4.652 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.3348, allocations: 64.41 kB / 0.5154 GB, free: 4.578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001753/0.3366, allocations: 1.511 MB / 0.5169 GB, free: 3.059 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.326e-05/0.3366, allocations: 49.7 kB / 0.5169 GB, free: 3.004 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000619/0.3373, allocations: 1.542 MB / 0.5184 GB, free: 1.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/0.3375, allocations: 432.8 kB / 0.5188 GB, free: 1.039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003635/0.3378, allocations: 295.4 kB / 0.5191 GB, free: 0.7461 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.849e-05/0.3379, allocations: 305.1 kB / 0.5194 GB, free: 456 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009305/0.3388, allocations: 0.6246 MB / 0.52 GB, free: 15.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001602/0.3404, allocations: 1.159 MB / 0.5211 GB, free: 14.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00282/0.3432, allocations: 1.873 MB / 0.523 GB, free: 12.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.437e-06/0.3432, allocations: 4 kB / 0.523 GB, free: 12.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00378/0.347, allocations: 2.11 MB / 0.525 GB, free: 10.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.347, allocations: 12 kB / 0.525 GB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.053e-05/0.3471, allocations: 23.92 kB / 0.5251 GB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003974/0.3475, allocations: 130.5 kB / 0.5252 GB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/0.349, allocations: 401.4 kB / 0.5256 GB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002847/0.3519, allocations: 3.104 MB / 0.5286 GB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.3531, allocations: 75.92 kB / 0.5287 GB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/0.3532, allocations: 71.98 kB / 0.5287 GB, free: 6.41 MB / 366.1 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.001783/0.355, allocations: 1.045 MB / 0.5298 GB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002974/0.3553, allocations: 185.8 kB / 0.5299 GB, free: 5.203 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003718/0.359, allocations: 1.86 MB / 0.5318 GB, free: 3.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.359, allocations: 12 kB / 0.5318 GB, free: 3.328 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.3591, allocations: 11.17 kB / 0.5318 GB, free: 3.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.3591, allocations: 7.969 kB / 0.5318 GB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007205/0.3663, allocations: 3.9 MB / 0.5356 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.3663, allocations: 4.125 kB / 0.5356 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007814/0.3671, allocations: 163.2 kB / 0.5358 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001255/0.3683, allocations: 447.3 kB / 0.5362 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.843e-05/0.3684, allocations: 35.98 kB / 0.5362 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0112/0.3796, allocations: 10.32 MB / 0.5463 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.3796, allocations: 7.875 kB / 0.5463 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005077/0.3847, allocations: 2.689 MB / 0.5489 GB, free: 1.273 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/0.3859, allocations: 310.7 kB / 0.5492 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/0.3862, allocations: 35.94 kB / 0.5493 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008596/0.387, allocations: 59.95 kB / 0.5493 GB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003907/0.3874, allocations: 108.5 kB / 0.5494 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.9e-05/0.3875, allocations: 35.98 kB / 0.5495 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001747/0.3893, allocations: 1.006 MB / 0.5504 GB, free: 15.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3893, allocations: 0 / 0.5504 GB, free: 15.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002153/0.3914, allocations: 0.543 MB / 0.551 GB, free: 15.19 MB / 398.1 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.00038/0.3918, allocations: 164 kB / 0.5511 GB, free: 15.03 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003038/0.3948, allocations: 1.701 MB / 0.5528 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.3948, allocations: 0 / 0.5528 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002376/0.3972, allocations: 1.436 MB / 0.5542 GB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/0.3995, allocations: 461.4 kB / 0.5546 GB, free: 11.44 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009856/0.4094, allocations: 5.531 MB / 0.56 GB, free: 5.871 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002116/0.4115, allocations: 1.819 MB / 0.5618 GB, free: 4.012 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001196/0.4127, allocations: 366.6 kB / 0.5622 GB, free: 3.648 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003194/0.413, allocations: 112.5 kB / 0.5623 GB, free: 3.535 MB / 398.1 MB Notification: Performance of SimCode: time 7.71e-07/0.413, allocations: 4 kB / 0.5623 GB, free: 3.531 MB / 398.1 MB Notification: Performance of Templates: time 0.04882/0.4619, allocations: 25.4 MB / 0.5871 GB, free: 10.57 MB / 430.1 MB " [Timeout remaining time 660] 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: 5.8953990787267685] Failed to read output from testmodel.py, exit status != 0: 0.47066178172826767 0.48661152 0.22733802500000003 Calling exit ...