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.002029/0.002029, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.626/1.626, allocations: 230.6 MB / 252.7 MB, free: 14.28 MB / 206.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.001717/0.001717, allocations: 216.1 kB / 309.2 MB, free: 3.113 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.04253/0.04253, allocations: 8.919 MB / 374.6 MB, free: 6.605 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_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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002638/0.002638, allocations: 79.88 kB / 0.4896 GB, free: 44.28 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1219, allocations: 55.61 MB / 0.5439 GB, free: 4.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.01903/0.1409, allocations: 12.04 MB / 0.5557 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01147/0.1524, allocations: 4.369 MB / 0.5599 GB, free: 4.086 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003225/0.1556, allocations: 115.2 kB / 0.5601 GB, free: 3.973 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003858/0.1594, allocations: 1.041 MB / 0.5611 GB, free: 2.926 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005677/0.1651, allocations: 1.293 MB / 0.5623 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003555/0.1687, allocations: 0.8793 MB / 0.5632 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.279/0.4477, allocations: 4.069 MB / 0.5672 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003011/0.4507, allocations: 1.889 MB / 0.569 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003927/0.4546, allocations: 1.993 MB / 0.571 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004997/0.4596, allocations: 2.152 MB / 0.5731 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00169/0.4613, allocations: 0.5258 MB / 0.5736 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002947/0.4642, allocations: 0.7269 MB / 0.5743 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001772/0.466, allocations: 1.154 MB / 0.5754 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006641/0.4727, allocations: 1.722 MB / 0.5771 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0143/0.487, allocations: 6.98 MB / 0.5839 GB, free: 7.016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.487, allocations: 0 / 0.5839 GB, free: 7.016 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.487, allocations: 0 / 0.5839 GB, free: 7.016 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003294/0.4873, allocations: 2.625 kB / 0.5839 GB, free: 7.016 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.01772/0.505, allocations: 4.485 MB / 0.5883 GB, free: 4.648 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.5051, allocations: 14.58 kB / 0.5883 GB, free: 4.645 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005071/0.5101, allocations: 0.8219 MB / 0.5891 GB, free: 4.379 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007008/0.5171, allocations: 2.43 MB / 0.5915 GB, free: 2.754 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002828/0.5174, allocations: 249.7 kB / 0.5917 GB, free: 2.645 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001283/0.5187, allocations: 330.8 kB / 0.592 GB, free: 2.535 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01094/0.5297, allocations: 4.673 MB / 0.5966 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.263e-05/0.5297, allocations: 2.062 kB / 0.5966 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000409/0.5302, allocations: 137.9 kB / 0.5967 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003435/0.5305, allocations: 153.3 kB / 0.5969 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009047/0.5395, allocations: 3.816 MB / 0.6006 GB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0259/0.5654, allocations: 12.08 MB / 0.6124 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00521/0.5707, allocations: 2.4 MB / 0.6147 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002073/0.5727, allocations: 1.113 MB / 0.6158 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006268/0.579, allocations: 2.781 MB / 0.6185 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.277e-05/0.579, allocations: 47.5 kB / 0.6186 GB, free: 14.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=115): time 3.436e-06/0.5791, allocations: 0 / 0.6186 GB, free: 14.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=118): time 0.01152/0.5906, allocations: 4.662 MB / 0.6231 GB, free: 9.477 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.5906, allocations: 64.41 kB / 0.6232 GB, free: 9.398 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002679/0.5933, allocations: 1.506 MB / 0.6247 GB, free: 7.883 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001089/0.5934, allocations: 45.7 kB / 0.6247 GB, free: 7.832 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001365/0.5948, allocations: 1.553 MB / 0.6262 GB, free: 6.273 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004346/0.5952, allocations: 442.6 kB / 0.6267 GB, free: 5.848 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004881/0.5957, allocations: 291.5 kB / 0.6269 GB, free: 5.555 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.5959, allocations: 301.1 kB / 0.6272 GB, free: 5.258 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/0.597, allocations: 0.6325 MB / 0.6278 GB, free: 4.625 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001644/0.5987, allocations: 1.159 MB / 0.629 GB, free: 3.246 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002886/0.6016, allocations: 1.875 MB / 0.6308 GB, free: 1.215 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/0.6016, allocations: 4 kB / 0.6308 GB, free: 1.211 MB / 414.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004082/0.6057, allocations: 2.119 MB / 0.6329 GB, free: 15.17 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.562e-05/0.6057, allocations: 12 kB / 0.6329 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-05/0.6057, allocations: 16 kB / 0.6329 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004907/0.6062, allocations: 126.5 kB / 0.633 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001515/0.6077, allocations: 400.9 kB / 0.6334 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003396/0.6111, allocations: 3.109 MB / 0.6364 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/0.6128, allocations: 75.91 kB / 0.6365 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/0.6129, allocations: 72 kB / 0.6366 GB, free: 11.22 MB / 430.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.002569/0.6155, allocations: 1.039 MB / 0.6376 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003703/0.6159, allocations: 178.4 kB / 0.6378 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00396/0.6198, allocations: 1.868 MB / 0.6396 GB, free: 8.145 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/0.6198, allocations: 12 kB / 0.6396 GB, free: 8.133 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-05/0.6198, allocations: 8 kB / 0.6396 GB, free: 8.125 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.6199, allocations: 7.922 kB / 0.6396 GB, free: 8.117 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008622/0.6285, allocations: 3.906 MB / 0.6434 GB, free: 4.191 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.6285, allocations: 0 / 0.6434 GB, free: 4.191 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007302/0.6292, allocations: 163.2 kB / 0.6436 GB, free: 4.039 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001208/0.6304, allocations: 447.2 kB / 0.644 GB, free: 3.598 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/0.6305, allocations: 31.98 kB / 0.644 GB, free: 3.566 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01224/0.6428, allocations: 10.33 MB / 0.6541 GB, free: 8.812 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/0.6428, allocations: 7.547 kB / 0.6541 GB, free: 8.809 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005363/0.6481, allocations: 2.7 MB / 0.6568 GB, free: 6.086 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/0.6493, allocations: 312.2 kB / 0.6571 GB, free: 5.781 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002974/0.6496, allocations: 31.94 kB / 0.6571 GB, free: 5.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008153/0.6504, allocations: 63.95 kB / 0.6572 GB, free: 5.688 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003115/0.6507, allocations: 101.2 kB / 0.6573 GB, free: 5.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-05/0.6508, allocations: 39.98 kB / 0.6573 GB, free: 5.551 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001905/0.6527, allocations: 1.006 MB / 0.6583 GB, free: 4.547 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6527, allocations: 0 / 0.6583 GB, free: 4.547 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002654/0.6554, allocations: 0.5468 MB / 0.6588 GB, free: 4 MB / 446.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.0003749/0.6558, allocations: 164.3 kB / 0.659 GB, free: 3.844 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003202/0.659, allocations: 1.693 MB / 0.6606 GB, free: 2.176 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.659, allocations: 3.469 kB / 0.6606 GB, free: 2.176 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002413/0.6614, allocations: 1.43 MB / 0.662 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002181/0.6636, allocations: 459.8 kB / 0.6625 GB, free: 264 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/0.6751, allocations: 5.745 MB / 0.6681 GB, free: 10.48 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002409/0.6775, allocations: 1.812 MB / 0.6698 GB, free: 8.637 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001477/0.679, allocations: 366.6 kB / 0.6702 GB, free: 8.273 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003141/0.6793, allocations: 119.4 kB / 0.6703 GB, free: 8.156 MB / 462.1 MB Notification: Performance of SimCode: time 1.583e-06/0.6793, allocations: 0 / 0.6703 GB, free: 8.156 MB / 462.1 MB Notification: Performance of Templates: time 0.05558/0.7349, allocations: 29.34 MB / 0.699 GB, free: 11.24 MB / 494.1 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.72118080034852] Failed to read output from testmodel.py, exit status != 0: 0.74398391880095 0.759605168 0.26918839099999997 Calling exit ...