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.00135/0.00135, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.454/1.454, allocations: 230.6 MB / 253.4 MB, free: 14.29 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.001661/0.001661, allocations: 211.7 kB / 310 MB, free: 3.082 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.04108/0.04108, allocations: 8.92 MB / 375.4 MB, free: 6.582 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.002441/0.002441, allocations: 87.86 kB / 0.4899 GB, free: 44.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0827/0.08514, allocations: 55.6 MB / 0.5442 GB, free: 5.027 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_DOL): time 0.2578/0.3429, allocations: 33.42 MB / 0.5769 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02046/0.3634, allocations: 10.01 MB / 0.5866 GB, free: 3.727 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007885/0.3713, allocations: 356 kB / 0.587 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02129/0.3926, allocations: 9.555 MB / 0.5963 GB, free: 14.26 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01516/0.4077, allocations: 4.15 MB / 0.6003 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007753/0.4155, allocations: 2.428 MB / 0.6027 GB, free: 9.656 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.022/0.4375, allocations: 16.65 MB / 0.619 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04098/0.4784, allocations: 20.6 MB / 0.6391 GB, free: 12.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01422/0.4927, allocations: 8.72 MB / 0.6476 GB, free: 3.637 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01779/0.5105, allocations: 9.62 MB / 0.657 GB, free: 9.984 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006811/0.5173, allocations: 2.422 MB / 0.6594 GB, free: 7.562 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01289/0.5302, allocations: 2.828 MB / 0.6621 GB, free: 4.734 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008706/0.5389, allocations: 4.832 MB / 0.6668 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02026/0.5591, allocations: 7.179 MB / 0.6739 GB, free: 8.684 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04698/0.6061, allocations: 32.38 MB / 0.7055 GB, free: 8.199 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.6061, allocations: 4 kB / 0.7055 GB, free: 8.195 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6061, allocations: 0 / 0.7055 GB, free: 8.195 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001052/0.6072, allocations: 0 / 0.7055 GB, free: 8.195 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.06214/0.6693, allocations: 19 MB / 0.724 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/0.6694, allocations: 15.98 kB / 0.7241 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004556/0.6698, allocations: 385.4 kB / 0.7244 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007801/0.6776, allocations: 2.019 MB / 0.7264 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05003/0.7277, allocations: 8.271 MB / 0.7345 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02671/0.7544, allocations: 10.39 MB / 0.7446 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001418/0.7558, allocations: 1.06 MB / 0.7456 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005858/0.7617, allocations: 1.402 MB / 0.747 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05992/0.8216, allocations: 23.09 MB / 0.7696 GB, free: 6.141 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007061/0.8223, allocations: 19.84 kB / 0.7696 GB, free: 6.121 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005723/0.828, allocations: 0.582 MB / 0.7702 GB, free: 5.539 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001136/0.8291, allocations: 0.7793 MB / 0.7709 GB, free: 4.758 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.442/1.271, allocations: 21.06 MB / 0.7915 GB, free: 152.1 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1096/1.381, allocations: 65.12 MB / 0.8551 GB, free: 105.6 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02106/1.402, allocations: 13.87 MB / 0.8686 GB, free: 93.71 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008898/1.411, allocations: 4.739 MB / 0.8732 GB, free: 88.96 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02456/1.435, allocations: 11.48 MB / 0.8845 GB, free: 77.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.07e-05/1.435, allocations: 86.77 kB / 0.8845 GB, free: 77.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=498): time 9.228e-06/1.435, allocations: 0 / 0.8845 GB, free: 77.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=506): time 0.05284/1.488, allocations: 25.96 MB / 0.9099 GB, free: 52.15 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/1.488, allocations: 129.3 kB / 0.91 GB, free: 52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007384/1.496, allocations: 5.804 MB / 0.9157 GB, free: 46.29 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001048/1.497, allocations: 105.7 kB / 0.9158 GB, free: 46.18 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003117/1.5, allocations: 6.383 MB / 0.922 GB, free: 39.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002124/1.502, allocations: 1.811 MB / 0.9238 GB, free: 38.11 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002507/1.504, allocations: 1.481 MB / 0.9252 GB, free: 36.62 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.576e-05/1.504, allocations: 305.1 kB / 0.9255 GB, free: 36.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004758/1.509, allocations: 3.634 MB / 0.9291 GB, free: 32.69 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006178/1.515, allocations: 6.532 MB / 0.9355 GB, free: 24.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01182/1.527, allocations: 10.79 MB / 0.946 GB, free: 12.72 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000103/1.527, allocations: 24 kB / 0.946 GB, free: 12.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01949/1.547, allocations: 12.03 MB / 0.9578 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.071e-05/1.547, allocations: 44 kB / 0.9578 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000125/1.547, allocations: 92 kB / 0.9579 GB, free: 500 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004782/1.552, allocations: 1.596 MB / 0.9595 GB, free: 14.88 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006891/1.559, allocations: 1.677 MB / 0.9611 GB, free: 13.2 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02881/1.588, allocations: 18.88 MB / 0.9795 GB, free: 9.754 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007063/1.595, allocations: 427.6 kB / 0.9799 GB, free: 9.336 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001598/1.596, allocations: 379.9 kB / 0.9803 GB, free: 8.965 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.01121/1.607, allocations: 5.191 MB / 0.9854 GB, free: 3.758 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002054/1.609, allocations: 0.6327 MB / 0.986 GB, free: 3.121 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01967/1.629, allocations: 9.173 MB / 0.9949 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01182/1.641, allocations: 5.86 MB / 1.001 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.816e-05/1.641, allocations: 23.94 kB / 1.001 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001025/1.641, allocations: 27.89 kB / 1.001 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.291/1.932, allocations: 19.96 MB / 1.02 GB, free: 183.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.69e-05/1.932, allocations: 5.5 kB / 1.02 GB, free: 183.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00439/1.936, allocations: 0.8685 MB / 1.021 GB, free: 183.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005512/1.942, allocations: 1.637 MB / 1.023 GB, free: 182.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001037/1.943, allocations: 128.2 kB / 1.023 GB, free: 182.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02436/1.967, allocations: 22.24 MB / 1.045 GB, free: 167.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/1.967, allocations: 15.62 kB / 1.045 GB, free: 167.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02407/1.991, allocations: 13.58 MB / 1.058 GB, free: 161.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003594/1.995, allocations: 1.352 MB / 1.059 GB, free: 161.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001333/1.996, allocations: 105.9 kB / 1.059 GB, free: 161.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003382/2, allocations: 280.4 kB / 1.059 GB, free: 161.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001414/2.001, allocations: 439.3 kB / 1.06 GB, free: 161.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005513/2.002, allocations: 160.5 kB / 1.06 GB, free: 161.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.009715/2.011, allocations: 3.912 MB / 1.064 GB, free: 159.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.5e-07/2.011, allocations: 2.078 kB / 1.064 GB, free: 159.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01237/2.024, allocations: 2.344 MB / 1.066 GB, free: 159.4 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.02022/2.044, allocations: 14.36 MB / 1.08 GB, free: 147.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01425/2.058, allocations: 9.451 MB / 1.089 GB, free: 138.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.45e-05/2.058, allocations: 4 kB / 1.089 GB, free: 138.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.008922/2.067, allocations: 5.159 MB / 1.094 GB, free: 133.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009155/2.076, allocations: 1.656 MB / 1.096 GB, free: 132.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1409/2.217, allocations: 80.24 MB / 1.174 GB, free: 48.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01574/2.233, allocations: 8.498 MB / 1.183 GB, free: 40.15 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007216/2.24, allocations: 2.539 MB / 1.185 GB, free: 37.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008761/2.249, allocations: 5.193 MB / 1.19 GB, free: 32.41 MB / 0.5919 GB Notification: Performance of SimCode: time 1.162e-06/2.249, allocations: 0 / 1.19 GB, free: 32.41 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5035/2.753, allocations: 198.3 MB / 1.384 GB, free: 84.05 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.85/28.6, allocations: 7.766 kB / 1.384 GB, free: 84.05 MB / 0.6075 GB " [Timeout remaining time 631] (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 sys.exit(0), Time elapsed: 37.83847481000703] Failed to read output from testmodel.py, exit status != 0: 28.86777405196335 28.878161548 28.269483564 Calling exit ...