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.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.001243/0.001243, allocations: 119.3 kB / 17.13 MB, free: 5.918 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.539/1.539, allocations: 225.6 MB / 245.5 MB, free: 14.16 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.001501/0.001501, allocations: 197.9 kB / 300.5 MB, free: 9.809 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.04022/0.04022, allocations: 8.936 MB / 364.3 MB, free: 10.16 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_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 0.002372/0.002372, allocations: 86.69 kB / 487.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1306, allocations: 54.41 MB / 0.5289 GB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.01651/0.1471, allocations: 13.2 MB / 0.5418 GB, free: 3.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01068/0.1578, allocations: 4.349 MB / 0.5461 GB, free: 15.19 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003143/0.1609, allocations: 83.69 kB / 0.5462 GB, free: 15.11 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003897/0.1648, allocations: 1.068 MB / 0.5472 GB, free: 14.03 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00663/0.1715, allocations: 1.328 MB / 0.5485 GB, free: 12.7 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003172/0.1746, allocations: 0.8651 MB / 0.5493 GB, free: 11.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006884/0.1815, allocations: 4.035 MB / 0.5533 GB, free: 7.777 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003785/0.1853, allocations: 2.495 MB / 0.5557 GB, free: 5.215 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003439/0.1887, allocations: 1.936 MB / 0.5576 GB, free: 3.273 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004024/0.1928, allocations: 2.156 MB / 0.5597 GB, free: 1.109 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001073/0.1938, allocations: 0.5234 MB / 0.5602 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001986/0.1958, allocations: 0.7302 MB / 0.5609 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00116/0.197, allocations: 1.149 MB / 0.5621 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003398/0.2004, allocations: 2.178 MB / 0.5642 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009387/0.2098, allocations: 6.907 MB / 0.5709 GB, free: 5.586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.2098, allocations: 0 / 0.5709 GB, free: 5.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2098, allocations: 0 / 0.5709 GB, free: 5.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001982/0.21, allocations: 0 / 0.5709 GB, free: 5.586 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.01425/0.2242, allocations: 4.531 MB / 0.5754 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.2243, allocations: 12.03 kB / 0.5754 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004601/0.2289, allocations: 0.8378 MB / 0.5762 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006252/0.2351, allocations: 2.494 MB / 0.5786 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002268/0.2354, allocations: 247.1 kB / 0.5789 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001039/0.2364, allocations: 340.1 kB / 0.5792 GB, free: 13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009619/0.246, allocations: 4.504 MB / 0.5836 GB, free: 8.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.15e-05/0.2461, allocations: 3.953 kB / 0.5836 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003258/0.2464, allocations: 140 kB / 0.5837 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001758/0.2466, allocations: 166.7 kB / 0.5839 GB, free: 8.152 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007832/0.2544, allocations: 3.805 MB / 0.5876 GB, free: 4.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02861/0.283, allocations: 14.06 MB / 0.6013 GB, free: 5.875 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007365/0.2904, allocations: 6.025 MB / 0.6072 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002225/0.2926, allocations: 1.083 MB / 0.6083 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007154/0.2998, allocations: 3.306 MB / 0.6115 GB, free: 10.56 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.818e-05/0.2999, allocations: 47.56 kB / 0.6115 GB, free: 10.51 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 4.498e-06/0.2999, allocations: 0 / 0.6115 GB, free: 10.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.01144/0.3113, allocations: 5.263 MB / 0.6167 GB, free: 5.047 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.3114, allocations: 64.41 kB / 0.6167 GB, free: 4.973 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002709/0.3141, allocations: 1.679 MB / 0.6184 GB, free: 3.289 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001073/0.3142, allocations: 49.7 kB / 0.6184 GB, free: 3.234 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001237/0.3154, allocations: 1.535 MB / 0.6199 GB, free: 1.684 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004055/0.3158, allocations: 436.3 kB / 0.6203 GB, free: 1.254 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004457/0.3163, allocations: 291.5 kB / 0.6206 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.3164, allocations: 305.1 kB / 0.6209 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.3174, allocations: 0.6285 MB / 0.6215 GB, free: 32 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001472/0.3189, allocations: 1.127 MB / 0.6226 GB, free: 14.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002948/0.3219, allocations: 1.869 MB / 0.6245 GB, free: 12.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.367e-05/0.3219, allocations: 15.94 kB / 0.6245 GB, free: 12.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004063/0.3259, allocations: 2.194 MB / 0.6266 GB, free: 10.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/0.326, allocations: 12.38 kB / 0.6266 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-05/0.326, allocations: 20 kB / 0.6266 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004019/0.3264, allocations: 130.5 kB / 0.6268 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/0.3279, allocations: 399.3 kB / 0.6271 GB, free: 9.789 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003353/0.3313, allocations: 3.357 MB / 0.6304 GB, free: 6.145 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/0.3329, allocations: 76.05 kB / 0.6305 GB, free: 6.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.3331, allocations: 75.98 kB / 0.6306 GB, free: 5.996 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.002684/0.3357, allocations: 1.048 MB / 0.6316 GB, free: 4.938 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005819/0.3363, allocations: 186.8 kB / 0.6318 GB, free: 4.754 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003913/0.3402, allocations: 2.025 MB / 0.6337 GB, free: 2.664 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.3402, allocations: 12 kB / 0.6338 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/0.3403, allocations: 11.94 kB / 0.6338 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.3403, allocations: 7.969 kB / 0.6338 GB, free: 2.633 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008462/0.3487, allocations: 4.767 MB / 0.6384 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.3487, allocations: 4.188 kB / 0.6384 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007333/0.3495, allocations: 167.8 kB / 0.6386 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001287/0.3508, allocations: 442.9 kB / 0.639 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/0.3509, allocations: 31.98 kB / 0.6391 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01216/0.363, allocations: 11.06 MB / 0.6499 GB, free: 1.344 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.363, allocations: 8.141 kB / 0.6499 GB, free: 1.336 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3186/0.6817, allocations: 2.851 MB / 0.6526 GB, free: 106.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001357/0.683, allocations: 404.7 kB / 0.653 GB, free: 106.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000233/0.6832, allocations: 34.38 kB / 0.6531 GB, free: 106.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008556/0.6841, allocations: 58 kB / 0.6531 GB, free: 106.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003995/0.6845, allocations: 98.03 kB / 0.6532 GB, free: 106.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/0.6846, allocations: 35.86 kB / 0.6532 GB, free: 106.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002777/0.6874, allocations: 1.155 MB / 0.6544 GB, free: 106.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6874, allocations: 0 / 0.6544 GB, free: 106.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003088/0.6905, allocations: 0.5461 MB / 0.6549 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.0004081/0.6909, allocations: 162.7 kB / 0.6551 GB, free: 106.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003285/0.6942, allocations: 1.774 MB / 0.6568 GB, free: 105.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.6942, allocations: 0 / 0.6568 GB, free: 105.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002339/0.6965, allocations: 1.447 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.002607/0.6991, allocations: 0.5284 MB / 0.6587 GB, free: 104.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009951/0.7091, allocations: 5.72 MB / 0.6643 GB, free: 101.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002008/0.7111, allocations: 2.309 MB / 0.6666 GB, free: 100.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006375/0.7117, allocations: 133 kB / 0.6667 GB, free: 100.6 MB / 462.1 MB Notification: Performance of SimCode: time 2.454e-06/0.7117, allocations: 0 / 0.6667 GB, free: 100.6 MB / 462.1 MB Notification: Performance of Templates: time 0.1041/0.8158, allocations: 105.5 MB / 0.7697 GB, free: 116 kB / 462.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: 14.161293943005148] Failed to read output from testmodel.py, exit status != 0: 1.0565036019979743 0.840110388 0.627148076 Calling exit ...