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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 114 kB / 17.13 MB, free: 6.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 225.6 MB / 245.5 MB, free: 14.15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 196.8 kB / 300.5 MB, free: 9.82 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04012/0.04012, allocations: 8.917 MB / 364.3 MB, free: 10.17 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002484/0.002484, allocations: 86.77 kB / 487.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1234, allocations: 54.4 MB / 0.529 GB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.01639/0.1398, allocations: 13.23 MB / 0.5419 GB, free: 3.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009581/0.1493, allocations: 4.341 MB / 0.5461 GB, free: 15.17 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002909/0.1522, allocations: 87.69 kB / 0.5462 GB, free: 15.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003636/0.1559, allocations: 1.064 MB / 0.5472 GB, free: 14.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005395/0.1613, allocations: 1.336 MB / 0.5485 GB, free: 12.67 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002955/0.1642, allocations: 0.8581 MB / 0.5494 GB, free: 11.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007478/0.1717, allocations: 4.034 MB / 0.5533 GB, free: 7.762 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003582/0.1753, allocations: 2.491 MB / 0.5558 GB, free: 5.203 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003275/0.1786, allocations: 1.94 MB / 0.5577 GB, free: 3.258 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004653/0.1832, allocations: 2.156 MB / 0.5598 GB, free: 1.094 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002452/0.1857, allocations: 0.5273 MB / 0.5603 GB, free: 0.5664 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002893/0.1886, allocations: 0.7224 MB / 0.561 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001562/0.1901, allocations: 1.149 MB / 0.5621 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00413/0.1943, allocations: 2.182 MB / 0.5642 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01192/0.2062, allocations: 6.907 MB / 0.571 GB, free: 5.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.2062, allocations: 0 / 0.571 GB, free: 5.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.338e-06/0.2062, allocations: 7.938 kB / 0.571 GB, free: 5.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002229/0.2064, allocations: 0 / 0.571 GB, free: 5.562 MB / 382.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.01465/0.2211, allocations: 4.523 MB / 0.5754 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.2211, allocations: 8.031 kB / 0.5754 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004948/0.2261, allocations: 0.8456 MB / 0.5762 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006669/0.2327, allocations: 2.49 MB / 0.5787 GB, free: 13.56 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002516/0.233, allocations: 247.1 kB / 0.5789 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00117/0.2341, allocations: 336.1 kB / 0.5792 GB, free: 12.99 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01063/0.2448, allocations: 4.504 MB / 0.5836 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.643e-05/0.2449, allocations: 15.88 kB / 0.5836 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003801/0.2453, allocations: 136 kB / 0.5838 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001939/0.2455, allocations: 158.7 kB / 0.5839 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007959/0.2534, allocations: 3.817 MB / 0.5876 GB, free: 4.316 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02896/0.2824, allocations: 14.06 MB / 0.6014 GB, free: 5.852 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007214/0.2896, allocations: 6.028 MB / 0.6073 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002279/0.2919, allocations: 1.08 MB / 0.6083 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007245/0.2991, allocations: 3.306 MB / 0.6115 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.056e-05/0.2992, allocations: 47.56 kB / 0.6116 GB, free: 10.49 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 3.847e-06/0.2992, allocations: 0 / 0.6116 GB, free: 10.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.01198/0.3111, allocations: 5.267 MB / 0.6167 GB, free: 5.023 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.3112, allocations: 68.41 kB / 0.6168 GB, free: 4.945 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003329/0.3145, allocations: 1.679 MB / 0.6184 GB, free: 3.262 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001369/0.3147, allocations: 45.7 kB / 0.6185 GB, free: 3.211 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001313/0.316, allocations: 1.535 MB / 0.62 GB, free: 1.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000488/0.3165, allocations: 436.3 kB / 0.6204 GB, free: 1.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005489/0.317, allocations: 299.5 kB / 0.6207 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3171, allocations: 301.1 kB / 0.621 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/0.3183, allocations: 0.6169 MB / 0.6216 GB, free: 16 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001659/0.32, allocations: 1.135 MB / 0.6227 GB, free: 14.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002927/0.3229, allocations: 1.865 MB / 0.6245 GB, free: 12.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.006e-05/0.3229, allocations: 7.938 kB / 0.6245 GB, free: 12.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004222/0.3272, allocations: 2.202 MB / 0.6267 GB, free: 10.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.399e-05/0.3272, allocations: 12 kB / 0.6267 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.471e-05/0.3272, allocations: 19.94 kB / 0.6267 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004539/0.3277, allocations: 130.8 kB / 0.6268 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/0.3292, allocations: 395.4 kB / 0.6272 GB, free: 9.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003352/0.3325, allocations: 3.368 MB / 0.6305 GB, free: 6.117 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.3341, allocations: 76.06 kB / 0.6305 GB, free: 6.043 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/0.3343, allocations: 72 kB / 0.6306 GB, free: 5.973 MB / 446.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.002265/0.3365, allocations: 1.044 MB / 0.6316 GB, free: 4.918 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005226/0.3371, allocations: 182.8 kB / 0.6318 GB, free: 4.738 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00422/0.3413, allocations: 2.029 MB / 0.6338 GB, free: 2.645 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/0.3413, allocations: 12 kB / 0.6338 GB, free: 2.633 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-05/0.3413, allocations: 7.938 kB / 0.6338 GB, free: 2.625 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.3413, allocations: 15.91 kB / 0.6338 GB, free: 2.609 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01014/0.3515, allocations: 4.771 MB / 0.6385 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/0.3515, allocations: 4 kB / 0.6385 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007485/0.3522, allocations: 159.8 kB / 0.6386 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001321/0.3535, allocations: 444.2 kB / 0.6391 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/0.3537, allocations: 35.98 kB / 0.6391 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01213/0.3658, allocations: 11.06 MB / 0.6499 GB, free: 1.32 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.3658, allocations: 8.156 kB / 0.6499 GB, free: 1.312 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.361/0.7268, allocations: 2.847 MB / 0.6527 GB, free: 106.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001438/0.7283, allocations: 403.6 kB / 0.6531 GB, free: 106.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003291/0.7286, allocations: 34.25 kB / 0.6531 GB, free: 106.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009616/0.7295, allocations: 61.19 kB / 0.6532 GB, free: 106.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004829/0.73, allocations: 97.41 kB / 0.6533 GB, free: 106.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/0.7302, allocations: 34.45 kB / 0.6533 GB, free: 106.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002689/0.7329, allocations: 1.154 MB / 0.6544 GB, free: 106.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7329, allocations: 0 / 0.6544 GB, free: 106.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002687/0.7355, allocations: 0.5493 MB / 0.655 GB, free: 106.2 MB / 462.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,8,100.0%), (1,13,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.0003488/0.7359, allocations: 156.8 kB / 0.6551 GB, free: 106.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003194/0.7391, allocations: 1.774 MB / 0.6568 GB, free: 105.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.7391, allocations: 4.281 kB / 0.6568 GB, free: 105.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002276/0.7414, allocations: 1.44 MB / 0.6582 GB, free: 104.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002629/0.744, allocations: 0.5343 MB / 0.6588 GB, free: 104.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.754, allocations: 5.717 MB / 0.6643 GB, free: 101.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001685/0.7557, allocations: 2.306 MB / 0.6666 GB, free: 100.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005838/0.7563, allocations: 136.5 kB / 0.6667 GB, free: 100.6 MB / 462.1 MB Notification: Performance of SimCode: time 1.803e-06/0.7563, allocations: 0 / 0.6667 GB, free: 100.6 MB / 462.1 MB Notification: Performance of Templates: time 0.08988/0.8462, allocations: 105.5 MB / 0.7698 GB, free: 116 kB / 462.1 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: 14.170950126004755] Failed to read output from testmodel.py, exit status != 0: 1.0916130460100248 0.868781628 0.6594076240000001 Calling exit ...