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.001451/0.001451, allocations: 116.1 kB / 17.17 MB, free: 6 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.631/1.631, allocations: 230.6 MB / 250.5 MB, free: 9.215 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.001663/0.001663, allocations: 205.7 kB / 306.7 MB, free: 4.289 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.04275/0.04275, allocations: 8.909 MB / 371.7 MB, free: 3.426 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_DOL,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_DOL",fmuType="cs",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.002472/0.002472, allocations: 83.88 kB / 496.5 MB, free: 9.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4324/0.4349, allocations: 55.57 MB / 0.5391 GB, free: 26.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_DOL): time 0.04151/0.4764, allocations: 39.12 MB / 0.5773 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0423/0.5187, allocations: 10.34 MB / 0.5874 GB, free: 6.832 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01835/0.537, allocations: 355.7 kB / 0.5877 GB, free: 6.711 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03604/0.5731, allocations: 10.29 MB / 0.5978 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02801/0.6011, allocations: 4.144 MB / 0.6018 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01178/0.6129, allocations: 2.425 MB / 0.6042 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.03527/0.6481, allocations: 16.54 MB / 0.6203 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06344/0.7116, allocations: 23.67 MB / 0.6435 GB, free: 2.816 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02402/0.7356, allocations: 8.661 MB / 0.6519 GB, free: 10.12 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02298/0.7586, allocations: 9.593 MB / 0.6613 GB, free: 0.5 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01085/0.7694, allocations: 2.418 MB / 0.6636 GB, free: 14.08 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01533/0.7848, allocations: 2.839 MB / 0.6664 GB, free: 11.24 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01471/0.7995, allocations: 4.828 MB / 0.6711 GB, free: 6.402 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02941/0.8289, allocations: 9.21 MB / 0.6801 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.8541/1.683, allocations: 32.23 MB / 0.7116 GB, free: 58.56 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/1.683, allocations: 0.8125 kB / 0.7116 GB, free: 58.56 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.224e-06/1.683, allocations: 0 / 0.7116 GB, free: 58.56 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001436/1.684, allocations: 0 / 0.7116 GB, free: 58.56 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.09196/1.776, allocations: 19.08 MB / 0.7302 GB, free: 50.2 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.468e-05/1.776, allocations: 9.094 kB / 0.7302 GB, free: 50.2 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.001123/1.778, allocations: 388.8 kB / 0.7306 GB, free: 50.17 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01676/1.794, allocations: 2.01 MB / 0.7326 GB, free: 49.67 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05406/1.848, allocations: 8.277 MB / 0.7407 GB, free: 46.14 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03078/1.879, allocations: 10.31 MB / 0.7507 GB, free: 39.54 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001509/1.881, allocations: 1.059 MB / 0.7518 GB, free: 39.06 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01025/1.891, allocations: 1.392 MB / 0.7531 GB, free: 38.6 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08612/1.977, allocations: 22.79 MB / 0.7754 GB, free: 16.07 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008884/1.978, allocations: 28.11 kB / 0.7754 GB, free: 16.05 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01074/1.989, allocations: 0.5758 MB / 0.776 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008881/1.99, allocations: 0.7754 MB / 0.7767 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06451/2.054, allocations: 21.07 MB / 0.7973 GB, free: 9.641 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2172/2.271, allocations: 72.88 MB / 0.8685 GB, free: 348 kB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04898/2.32, allocations: 42.12 MB / 0.9096 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01192/2.332, allocations: 4.742 MB / 0.9142 GB, free: 12.54 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4452/2.777, allocations: 13.04 MB / 0.927 GB, free: 230.6 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001056/2.777, allocations: 90.98 kB / 0.927 GB, free: 230.6 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=498): time 8.767e-06/2.777, allocations: 0 / 0.927 GB, free: 230.6 MB / 0.6232 GB Notification: Performance of matching and sorting (n=506): time 0.08167/2.859, allocations: 26.7 MB / 0.9531 GB, free: 223.8 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.167e-05/2.859, allocations: 129.1 kB / 0.9532 GB, free: 223.7 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01514/2.874, allocations: 5.8 MB / 0.9589 GB, free: 221.6 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.001335/2.876, allocations: 112.3 kB / 0.959 GB, free: 221.5 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.005713/2.881, allocations: 6.374 MB / 0.9652 GB, free: 216.7 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.003079/2.884, allocations: 1.817 MB / 0.967 GB, free: 215.3 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006401/2.891, allocations: 1.484 MB / 0.9685 GB, free: 214.6 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 6.998e-05/2.891, allocations: 301.1 kB / 0.9687 GB, free: 214.3 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006326/2.897, allocations: 3.634 MB / 0.9723 GB, free: 212.9 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009999/2.907, allocations: 6.486 MB / 0.9786 GB, free: 207.8 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01872/2.926, allocations: 10.79 MB / 0.9892 GB, free: 199.9 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001676/2.926, allocations: 24 kB / 0.9892 GB, free: 199.9 MB / 0.6232 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02849/2.955, allocations: 12.12 MB / 1.001 GB, free: 189.3 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 8.356e-05/2.955, allocations: 44 kB / 1.001 GB, free: 189.3 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001932/2.955, allocations: 100.2 kB / 1.001 GB, free: 189.2 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004543/2.959, allocations: 1.592 MB / 1.003 GB, free: 188 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006402/2.966, allocations: 1.668 MB / 1.004 GB, free: 186.6 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02024/2.986, allocations: 19.67 MB / 1.024 GB, free: 166.6 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007863/2.994, allocations: 427.5 kB / 1.024 GB, free: 166.2 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001968/2.996, allocations: 375.9 kB / 1.024 GB, free: 165.8 MB / 0.6232 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.01147/3.007, allocations: 5.191 MB / 1.029 GB, free: 160.6 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002119/3.01, allocations: 0.6256 MB / 1.03 GB, free: 160 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01651/3.026, allocations: 9.319 MB / 1.039 GB, free: 150.6 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009864/3.036, allocations: 5.856 MB / 1.045 GB, free: 144.7 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.877e-05/3.036, allocations: 23.81 kB / 1.045 GB, free: 144.7 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.42e-05/3.036, allocations: 31.66 kB / 1.045 GB, free: 144.7 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04766/3.084, allocations: 21.02 MB / 1.065 GB, free: 123.6 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.568e-05/3.084, allocations: 11.98 kB / 1.065 GB, free: 123.5 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004495/3.088, allocations: 0.8698 MB / 1.066 GB, free: 122.7 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005352/3.094, allocations: 1.643 MB / 1.068 GB, free: 121 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001677/3.095, allocations: 127.9 kB / 1.068 GB, free: 120.9 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02384/3.119, allocations: 23.25 MB / 1.091 GB, free: 96.69 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/3.119, allocations: 11.94 kB / 1.091 GB, free: 96.68 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02756/3.147, allocations: 13.74 MB / 1.104 GB, free: 82.58 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007534/3.154, allocations: 1.391 MB / 1.105 GB, free: 81.16 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005172/3.159, allocations: 112 kB / 1.106 GB, free: 81.05 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007297/3.167, allocations: 276.9 kB / 1.106 GB, free: 80.79 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002952/3.17, allocations: 416.5 kB / 1.106 GB, free: 80.38 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0016/3.171, allocations: 167.9 kB / 1.106 GB, free: 80.21 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.01011/3.181, allocations: 3.914 MB / 1.11 GB, free: 76.33 MB / 0.6232 GB Notification: Performance of sort global known variables: time 2.2e-07/3.181, allocations: 0 / 1.11 GB, free: 76.33 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01706/3.198, allocations: 2.344 MB / 1.113 GB, free: 73.99 MB / 0.6232 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.03176/3.23, allocations: 14.52 MB / 1.127 GB, free: 59.11 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.02136/3.252, allocations: 9.528 MB / 1.136 GB, free: 49.48 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 1.554e-05/3.252, allocations: 1 kB / 1.136 GB, free: 49.48 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.01132/3.263, allocations: 5.154 MB / 1.141 GB, free: 44.25 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02084/3.284, allocations: 1.655 MB / 1.143 GB, free: 42.63 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6629/3.947, allocations: 80.22 MB / 1.221 GB, free: 196.7 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02365/3.97, allocations: 8.857 MB / 1.23 GB, free: 190 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.009253/3.979, allocations: 2.536 MB / 1.232 GB, free: 187.5 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01228/3.992, allocations: 5.193 MB / 1.237 GB, free: 182.3 MB / 0.6232 GB Notification: Performance of SimCode: time 2.595e-06/3.992, allocations: 0 / 1.237 GB, free: 182.3 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7147/4.707, allocations: 189.7 MB / 1.422 GB, free: 193.5 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.89/31.6, allocations: 8.812 kB / 1.422 GB, free: 193.5 MB / 0.6232 GB " [Timeout remaining time 628] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_InductionMachines_IMC_DOL.fmu > HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 35.28517584898509] Failed to read output from testmodel.py, exit status != 0: 31.844779730017763 31.857512893 30.171006951 Calling exit ...