Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_DOL.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.001465/0.001465, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.495/1.495, allocations: 230.6 MB / 252.7 MB, free: 14.26 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.002112/0.002112, allocations: 214.3 kB / 309.2 MB, free: 3.094 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.04162/0.04162, allocations: 8.923 MB / 374.6 MB, free: 6.562 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_DOL,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_DOL,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_DOL",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.002653/0.002653, allocations: 83.88 kB / 0.4892 GB, free: 44.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0907/0.09335, allocations: 55.61 MB / 0.5435 GB, free: 5.016 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_DOL): time 0.258/0.3513, allocations: 33.44 MB / 0.5761 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02149/0.3728, allocations: 10.03 MB / 0.5859 GB, free: 3.688 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008996/0.3818, allocations: 360.1 kB / 0.5863 GB, free: 3.562 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02377/0.4056, allocations: 9.56 MB / 0.5956 GB, free: 14.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01825/0.4238, allocations: 4.133 MB / 0.5996 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01106/0.4349, allocations: 2.433 MB / 0.602 GB, free: 9.641 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02604/0.4609, allocations: 16.64 MB / 0.6182 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04806/0.509, allocations: 20.31 MB / 0.6381 GB, free: 12.65 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01701/0.526, allocations: 8.731 MB / 0.6466 GB, free: 3.895 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01751/0.5435, allocations: 9.206 MB / 0.6556 GB, free: 10.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006932/0.5505, allocations: 2.414 MB / 0.658 GB, free: 8.242 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009949/0.5604, allocations: 2.808 MB / 0.6607 GB, free: 5.434 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01154/0.5719, allocations: 4.828 MB / 0.6654 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01695/0.5889, allocations: 7.172 MB / 0.6724 GB, free: 9.391 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04717/0.6361, allocations: 32.36 MB / 0.704 GB, free: 8.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.6361, allocations: 3.938 kB / 0.704 GB, free: 8.926 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.6361, allocations: 4 kB / 0.704 GB, free: 8.922 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000896/0.637, allocations: 0 / 0.704 GB, free: 8.922 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.06084/0.6978, allocations: 18.98 MB / 0.7226 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/0.6979, allocations: 15.98 kB / 0.7226 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008417/0.7063, allocations: 2.007 MB / 0.7245 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04827/0.7545, allocations: 8.29 MB / 0.7326 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02717/0.7817, allocations: 10.35 MB / 0.7427 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001434/0.7831, allocations: 1.06 MB / 0.7438 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005884/0.789, allocations: 1.394 MB / 0.7451 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06276/0.8518, allocations: 23.1 MB / 0.7677 GB, free: 7.297 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007205/0.8525, allocations: 23.89 kB / 0.7677 GB, free: 7.273 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004959/0.8575, allocations: 0.5742 MB / 0.7683 GB, free: 6.699 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001045/0.8585, allocations: 0.7831 MB / 0.769 GB, free: 5.914 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5015/1.36, allocations: 20.97 MB / 0.7895 GB, free: 151.9 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1219/1.482, allocations: 65.12 MB / 0.8531 GB, free: 106.8 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01997/1.502, allocations: 13.87 MB / 0.8667 GB, free: 94.95 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006893/1.509, allocations: 4.735 MB / 0.8713 GB, free: 90.21 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02061/1.529, allocations: 11.49 MB / 0.8825 GB, free: 78.99 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.174e-05/1.529, allocations: 90.7 kB / 0.8826 GB, free: 78.89 MB / 0.545 GB Notification: Performance of pre-optimization done (n=498): time 7.855e-06/1.529, allocations: 0 / 0.8826 GB, free: 78.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=506): time 0.05087/1.58, allocations: 25.95 MB / 0.9079 GB, free: 53.39 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/1.58, allocations: 129.3 kB / 0.9081 GB, free: 53.24 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007327/1.588, allocations: 5.963 MB / 0.9139 GB, free: 47.43 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008587/1.588, allocations: 113.6 kB / 0.914 GB, free: 47.31 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002613/1.591, allocations: 6.379 MB / 0.9202 GB, free: 40.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001561/1.593, allocations: 1.814 MB / 0.922 GB, free: 39.19 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001966/1.595, allocations: 1.485 MB / 0.9234 GB, free: 37.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 3.708e-05/1.595, allocations: 305.1 kB / 0.9237 GB, free: 37.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004521/1.599, allocations: 3.637 MB / 0.9273 GB, free: 33.76 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005737/1.605, allocations: 6.532 MB / 0.9337 GB, free: 25.91 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01083/1.616, allocations: 10.79 MB / 0.9442 GB, free: 13.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.154e-05/1.616, allocations: 28 kB / 0.9442 GB, free: 13.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01836/1.634, allocations: 12.03 MB / 0.956 GB, free: 1.703 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.61e-05/1.634, allocations: 44 kB / 0.956 GB, free: 1.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001333/1.634, allocations: 96 kB / 0.9561 GB, free: 1.566 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003998/1.638, allocations: 1.595 MB / 0.9577 GB, free: 15.95 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006714/1.645, allocations: 1.665 MB / 0.9593 GB, free: 14.29 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02648/1.672, allocations: 18.9 MB / 0.9777 GB, free: 10.83 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006085/1.678, allocations: 423.6 kB / 0.9781 GB, free: 10.41 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001285/1.679, allocations: 371.9 kB / 0.9785 GB, free: 10.05 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (865): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 5 systems {(1,1,100.0%), (12,64,52.1%), (1,5,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01019/1.689, allocations: 5.196 MB / 0.9836 GB, free: 4.84 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001822/1.691, allocations: 0.6366 MB / 0.9842 GB, free: 4.199 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01802/1.709, allocations: 9.157 MB / 0.9931 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01059/1.72, allocations: 5.864 MB / 0.9989 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.872e-05/1.72, allocations: 20 kB / 0.9989 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.727e-05/1.72, allocations: 23.91 kB / 0.9989 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2988/2.019, allocations: 19.97 MB / 1.018 GB, free: 183.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.517e-05/2.019, allocations: 11.47 kB / 1.018 GB, free: 183.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003901/2.022, allocations: 0.8683 MB / 1.019 GB, free: 183 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004949/2.027, allocations: 1.635 MB / 1.021 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008666/2.028, allocations: 131.5 kB / 1.021 GB, free: 182.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02297/2.051, allocations: 22.23 MB / 1.043 GB, free: 167.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/2.051, allocations: 13.25 kB / 1.043 GB, free: 167.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01821/2.069, allocations: 13.58 MB / 1.056 GB, free: 161.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00386/2.073, allocations: 1.354 MB / 1.057 GB, free: 161 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001505/2.075, allocations: 101.4 kB / 1.057 GB, free: 160.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003426/2.078, allocations: 289.7 kB / 1.058 GB, free: 160.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001051/2.079, allocations: 440.9 kB / 1.058 GB, free: 160.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003532/2.08, allocations: 156.2 kB / 1.058 GB, free: 160.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006808/2.086, allocations: 3.918 MB / 1.062 GB, free: 159.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/2.086, allocations: 0 / 1.062 GB, free: 159.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009587/2.096, allocations: 2.334 MB / 1.064 GB, free: 159.1 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (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,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (438): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,5,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%), (1,1,100.0%), (12,64,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0182/2.114, allocations: 14.36 MB / 1.078 GB, free: 147.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01309/2.127, allocations: 9.457 MB / 1.088 GB, free: 139.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.621e-05/2.127, allocations: 4 kB / 1.088 GB, free: 139.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007112/2.135, allocations: 5.154 MB / 1.093 GB, free: 134.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008817/2.143, allocations: 1.648 MB / 1.094 GB, free: 133 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1216/2.265, allocations: 80.23 MB / 1.173 GB, free: 49.39 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01034/2.275, allocations: 8.505 MB / 1.181 GB, free: 40.84 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006365/2.282, allocations: 2.539 MB / 1.183 GB, free: 38.29 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007276/2.289, allocations: 5.197 MB / 1.188 GB, free: 33.09 MB / 0.5919 GB Notification: Performance of SimCode: time 1.923e-06/2.289, allocations: 4 kB / 1.188 GB, free: 33.09 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5238/2.813, allocations: 195.3 MB / 1.379 GB, free: 87.43 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.39/24.2, allocations: 10.73 kB / 1.379 GB, free: 87.43 MB / 0.6075 GB " [Timeout remaining time 636] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_DOL.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.InductionMachines.IMC_DOL_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 HanserModelica_HanserModelica_InductionMachines_IMC_DOL.fmu > HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 27.73600853094831] Failed to read output from testmodel.py, exit status != 0: 24.4144038092345 24.425026595 23.786364901 Calling exit ...