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.00174/0.00174, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.561/1.561, allocations: 230.6 MB / 252.6 MB, free: 8.277 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.001656/0.001656, allocations: 202 kB / 309.2 MB, free: 3.137 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.04364/0.04364, allocations: 8.918 MB / 374.6 MB, free: 1.883 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: "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_Inverter1,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_Inverter1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_Inverter1,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_Inverter1",fmuType="me",version="2.0",platforms={"static"}) [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.002713/0.002713, allocations: 83.88 kB / 0.4892 GB, free: 7.332 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3255, allocations: 55.61 MB / 0.5435 GB, free: 26.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.01253/0.338, allocations: 13.87 MB / 0.5571 GB, free: 16.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009044/0.347, allocations: 4.628 MB / 0.5616 GB, free: 13.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002973/0.35, allocations: 112.1 kB / 0.5617 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003548/0.3536, allocations: 1.095 MB / 0.5628 GB, free: 12.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00556/0.3591, allocations: 1.318 MB / 0.5641 GB, free: 12.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002886/0.362, allocations: 0.9346 MB / 0.565 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006925/0.3689, allocations: 4.09 MB / 0.569 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004812/0.3737, allocations: 1.963 MB / 0.5709 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004225/0.378, allocations: 1.99 MB / 0.5728 GB, free: 7.246 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005262/0.3832, allocations: 2.279 MB / 0.575 GB, free: 6.129 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002285/0.3855, allocations: 0.5294 MB / 0.5756 GB, free: 6.125 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004019/0.3895, allocations: 0.7607 MB / 0.5763 GB, free: 6.035 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002462/0.392, allocations: 1.156 MB / 0.5774 GB, free: 5.273 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006897/0.3989, allocations: 2.184 MB / 0.5796 GB, free: 3.805 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01351/0.4124, allocations: 6.944 MB / 0.5863 GB, free: 15.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/0.4124, allocations: 0 / 0.5863 GB, free: 15.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.4124, allocations: 5.156 kB / 0.5864 GB, free: 15.1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003523/0.4128, allocations: 0 / 0.5864 GB, free: 15.1 MB / 398.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.02001/0.4328, allocations: 4.491 MB / 0.5907 GB, free: 12.08 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.032e-05/0.4328, allocations: 10.25 kB / 0.5907 GB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002685/0.4355, allocations: 0.5149 MB / 0.5913 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006462/0.442, allocations: 0.8199 MB / 0.5921 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00844/0.4504, allocations: 2.454 MB / 0.5944 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004491/0.4509, allocations: 254.8 kB / 0.5947 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00216/0.453, allocations: 336 kB / 0.595 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01655/0.4696, allocations: 4.512 MB / 0.5994 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001882/0.4698, allocations: 3.984 kB / 0.5994 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001287/0.4711, allocations: 136 kB / 0.5995 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002425/0.4713, allocations: 158.7 kB / 0.5997 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01102/0.4823, allocations: 3.817 MB / 0.6034 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0329/0.5152, allocations: 13.83 MB / 0.6169 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005653/0.5209, allocations: 2.403 MB / 0.6193 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002267/0.5231, allocations: 1.104 MB / 0.6204 GB, free: 13.83 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00782/0.531, allocations: 3.124 MB / 0.6234 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.499e-05/0.531, allocations: 47.56 kB / 0.6235 GB, free: 10.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 3.737e-06/0.531, allocations: 4 kB / 0.6235 GB, free: 10.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.01274/0.5438, allocations: 4.676 MB / 0.628 GB, free: 5.898 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.5438, allocations: 64.41 kB / 0.6281 GB, free: 5.824 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003938/0.5478, allocations: 1.711 MB / 0.6298 GB, free: 4.109 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001595/0.5479, allocations: 45.7 kB / 0.6298 GB, free: 4.059 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001581/0.5495, allocations: 1.555 MB / 0.6313 GB, free: 2.488 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005638/0.5501, allocations: 436.3 kB / 0.6317 GB, free: 2.059 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006717/0.5507, allocations: 287.5 kB / 0.632 GB, free: 1.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.5509, allocations: 309.1 kB / 0.6323 GB, free: 1.465 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/0.5522, allocations: 0.6286 MB / 0.6329 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001726/0.5539, allocations: 1.127 MB / 0.634 GB, free: 15.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003082/0.557, allocations: 1.876 MB / 0.6359 GB, free: 13.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.002e-05/0.557, allocations: 4 kB / 0.6359 GB, free: 13.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004364/0.5614, allocations: 2.131 MB / 0.6379 GB, free: 11.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.402e-05/0.5614, allocations: 12 kB / 0.638 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.8e-05/0.5615, allocations: 16 kB / 0.638 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004329/0.5619, allocations: 138.9 kB / 0.6381 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/0.5634, allocations: 395.3 kB / 0.6385 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003314/0.5667, allocations: 3.17 MB / 0.6416 GB, free: 7.277 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/0.5685, allocations: 71.91 kB / 0.6416 GB, free: 7.207 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002296/0.5687, allocations: 68.12 kB / 0.6417 GB, free: 7.141 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.002552/0.5713, allocations: 1.059 MB / 0.6427 GB, free: 6.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005857/0.5719, allocations: 194.8 kB / 0.6429 GB, free: 5.879 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004414/0.5763, allocations: 1.876 MB / 0.6448 GB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.409e-05/0.5763, allocations: 19.92 kB / 0.6448 GB, free: 3.953 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-05/0.5763, allocations: 4 kB / 0.6448 GB, free: 3.949 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/0.5764, allocations: 3.984 kB / 0.6448 GB, free: 3.945 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/0.5874, allocations: 4.612 MB / 0.6493 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/0.5874, allocations: 8.188 kB / 0.6493 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007805/0.5881, allocations: 163.8 kB / 0.6495 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001301/0.5894, allocations: 444 kB / 0.6499 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/0.5896, allocations: 35.98 kB / 0.6499 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01249/0.602, allocations: 10.53 MB / 0.6602 GB, free: 3.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.6021, allocations: 0 / 0.6602 GB, free: 3.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006149/0.6082, allocations: 2.735 MB / 0.6629 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001365/0.6096, allocations: 330.6 kB / 0.6632 GB, free: 396 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007538/0.6103, allocations: 35.98 kB / 0.6632 GB, free: 360 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001577/0.6119, allocations: 63.89 kB / 0.6633 GB, free: 296 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004187/0.6123, allocations: 104.7 kB / 0.6634 GB, free: 192 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/0.6124, allocations: 32.19 kB / 0.6634 GB, free: 160 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003377/0.6158, allocations: 1.171 MB / 0.6646 GB, free: 14.99 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6158, allocations: 3.938 kB / 0.6646 GB, free: 14.99 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003764/0.6196, allocations: 0.5469 MB / 0.6651 GB, free: 14.44 MB / 478.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.005848/0.6254, allocations: 3.327 MB / 0.6683 GB, free: 11.05 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003272/0.6287, allocations: 1.699 MB / 0.67 GB, free: 9.328 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.6287, allocations: 4.062 kB / 0.67 GB, free: 9.324 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002666/0.6314, allocations: 1.438 MB / 0.6714 GB, free: 7.824 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003031/0.6344, allocations: 0.5317 MB / 0.6719 GB, free: 7.297 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03555/0.6699, allocations: 18.89 MB / 0.6904 GB, free: 3.711 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002815/0.6728, allocations: 2.378 MB / 0.6927 GB, free: 1.297 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00157/0.6743, allocations: 392.1 kB / 0.6931 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2852/0.9596, allocations: 1.155 MB / 0.6942 GB, free: 121.6 MB / 494.1 MB Notification: Performance of SimCode: time 2.204e-06/0.9596, allocations: 0.9375 kB / 0.6942 GB, free: 121.6 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1166/1.076, allocations: 53.13 MB / 0.7461 GB, free: 94.77 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.14/16.21, allocations: 9.406 kB / 0.7461 GB, free: 94.77 MB / 494.1 MB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_InductionMachines_IMC_Inverter1_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --timeout=50 --tolerance=1e-08 HanserModelica_HanserModelica_InductionMachines_IMC_Inverter1.fmu > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.947356921155006] Failed to read output from testmodel.py, exit status != 0: 16.35577119886875 16.365764089 15.950720626 Calling exit ...