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.001392/0.001392, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.563/1.563, allocations: 230.6 MB / 253.4 MB, free: 14.49 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.001932/0.001932, allocations: 210.8 kB / 310 MB, free: 3.102 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.04129/0.04129, allocations: 8.919 MB / 375.4 MB, free: 6.766 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.002589/0.002589, allocations: 79.88 kB / 0.49 GB, free: 44.9 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1347, allocations: 55.62 MB / 0.5443 GB, free: 5.184 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_DOL): time 0.3964/0.531, allocations: 39.21 MB / 0.5826 GB, free: 6.027 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02562/0.5567, allocations: 10.36 MB / 0.5927 GB, free: 468 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01097/0.5676, allocations: 365.6 kB / 0.5931 GB, free: 336 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02909/0.5967, allocations: 10.31 MB / 0.6031 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01953/0.6162, allocations: 4.219 MB / 0.6072 GB, free: 7.125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01029/0.6265, allocations: 2.492 MB / 0.6097 GB, free: 5.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02987/0.6564, allocations: 16.65 MB / 0.6259 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04852/0.7049, allocations: 20.6 MB / 0.6461 GB, free: 6.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02085/0.7258, allocations: 8.716 MB / 0.6546 GB, free: 13.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02117/0.7469, allocations: 9.624 MB / 0.664 GB, free: 4.195 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009151/0.7561, allocations: 2.418 MB / 0.6663 GB, free: 1.777 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01272/0.7688, allocations: 2.839 MB / 0.6691 GB, free: 14.94 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01077/0.7796, allocations: 4.828 MB / 0.6738 GB, free: 10.1 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0271/0.8067, allocations: 9.222 MB / 0.6828 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05608/0.8628, allocations: 32.23 MB / 0.7143 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.8628, allocations: 4 kB / 0.7143 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.8628, allocations: 0 / 0.7143 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001103/0.8639, allocations: 3.938 kB / 0.7143 GB, free: 0.5 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.07541/0.9393, allocations: 18.99 MB / 0.7328 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 8.541e-05/0.9394, allocations: 19.92 kB / 0.7329 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0006364/0.94, allocations: 385.4 kB / 0.7332 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01028/0.9503, allocations: 2.015 MB / 0.7352 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05109/1.001, allocations: 8.282 MB / 0.7433 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03046/1.032, allocations: 10.38 MB / 0.7534 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001398/1.033, allocations: 1.06 MB / 0.7545 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007499/1.041, allocations: 1.402 MB / 0.7558 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6344/1.675, allocations: 22.78 MB / 0.7781 GB, free: 145.4 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007535/1.676, allocations: 24.69 kB / 0.7781 GB, free: 145.4 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005851/1.682, allocations: 0.5738 MB / 0.7787 GB, free: 145.4 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009426/1.683, allocations: 0.7794 MB / 0.7794 GB, free: 145.4 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05599/1.739, allocations: 21.07 MB / 0.8 GB, free: 139.5 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1314/1.87, allocations: 71.1 MB / 0.8694 GB, free: 90.96 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02207/1.892, allocations: 13.97 MB / 0.8831 GB, free: 78.98 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007174/1.899, allocations: 4.729 MB / 0.8877 GB, free: 74.24 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02237/1.922, allocations: 12.67 MB / 0.9001 GB, free: 61.86 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.409e-05/1.922, allocations: 86.77 kB / 0.9001 GB, free: 61.76 MB / 0.545 GB Notification: Performance of pre-optimization done (n=498): time 6.813e-06/1.922, allocations: 0 / 0.9001 GB, free: 61.76 MB / 0.545 GB Notification: Performance of matching and sorting (n=506): time 0.05779/1.98, allocations: 25.96 MB / 0.9255 GB, free: 36.24 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/1.98, allocations: 129.3 kB / 0.9256 GB, free: 36.1 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007549/1.987, allocations: 5.793 MB / 0.9313 GB, free: 30.39 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.00105/1.988, allocations: 113.7 kB / 0.9314 GB, free: 30.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002949/1.991, allocations: 6.373 MB / 0.9376 GB, free: 24.01 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001932/1.993, allocations: 1.822 MB / 0.9394 GB, free: 22.21 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002166/1.995, allocations: 1.478 MB / 0.9408 GB, free: 20.73 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.416e-05/1.995, allocations: 305.1 kB / 0.9411 GB, free: 20.43 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0048/2, allocations: 3.634 MB / 0.9447 GB, free: 16.79 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007122/2.007, allocations: 6.486 MB / 0.951 GB, free: 9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0136/2.021, allocations: 10.79 MB / 0.9615 GB, free: 12.89 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001096/2.021, allocations: 24 kB / 0.9616 GB, free: 12.87 MB / 0.5607 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02813/2.049, allocations: 12.04 MB / 0.9733 GB, free: 0.7734 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001155/2.049, allocations: 44 kB / 0.9734 GB, free: 0.7305 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001866/2.049, allocations: 95.94 kB / 0.9735 GB, free: 0.6367 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005067/2.054, allocations: 1.592 MB / 0.975 GB, free: 15.03 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007246/2.062, allocations: 1.677 MB / 0.9766 GB, free: 13.35 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0274/2.089, allocations: 19.16 MB / 0.9954 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007656/2.097, allocations: 427.5 kB / 0.9958 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002398/2.099, allocations: 371.9 kB / 0.9961 GB, free: 8.863 MB / 0.5919 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.01581/2.115, allocations: 5.195 MB / 1.001 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002647/2.118, allocations: 0.6249 MB / 1.002 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3146/2.432, allocations: 9.16 MB / 1.011 GB, free: 183.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0127/2.445, allocations: 5.867 MB / 1.016 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001386/2.445, allocations: 19.53 kB / 1.016 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002008/2.445, allocations: 26.03 kB / 1.017 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04875/2.494, allocations: 20.94 MB / 1.037 GB, free: 174.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.316e-05/2.494, allocations: 6.875 kB / 1.037 GB, free: 174.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004273/2.498, allocations: 0.8677 MB / 1.038 GB, free: 174.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004986/2.503, allocations: 1.633 MB / 1.039 GB, free: 173.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001287/2.505, allocations: 141.6 kB / 1.04 GB, free: 173.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02373/2.528, allocations: 22.55 MB / 1.062 GB, free: 158.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.323e-06/2.528, allocations: 10.75 kB / 1.062 GB, free: 158.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02259/2.551, allocations: 13.58 MB / 1.075 GB, free: 152.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004593/2.556, allocations: 1.356 MB / 1.076 GB, free: 152.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001621/2.557, allocations: 99.69 kB / 1.076 GB, free: 152 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004599/2.562, allocations: 288.5 kB / 1.077 GB, free: 151.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001333/2.563, allocations: 436.6 kB / 1.077 GB, free: 151.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003801/2.563, allocations: 157.9 kB / 1.077 GB, free: 151.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006818/2.57, allocations: 3.914 MB / 1.081 GB, free: 148.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/2.57, allocations: 3.75 kB / 1.081 GB, free: 148.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01247/2.583, allocations: 2.332 MB / 1.083 GB, free: 146.2 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.02144/2.604, allocations: 14.36 MB / 1.097 GB, free: 131.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01484/2.619, allocations: 9.464 MB / 1.106 GB, free: 122.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-05/2.619, allocations: 5.922 kB / 1.106 GB, free: 122.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.008017/2.627, allocations: 5.162 MB / 1.112 GB, free: 117.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009157/2.636, allocations: 1.638 MB / 1.113 GB, free: 115.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1396/2.776, allocations: 80.26 MB / 1.191 GB, free: 31.92 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01156/2.787, allocations: 8.868 MB / 1.2 GB, free: 23 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007041/2.794, allocations: 2.539 MB / 1.203 GB, free: 20.46 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008655/2.803, allocations: 5.197 MB / 1.208 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of SimCode: time 1.964e-06/2.803, allocations: 0 / 1.208 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7167/3.52, allocations: 196.4 MB / 1.399 GB, free: 68.16 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.88/30.4, allocations: 8.062 kB / 1.4 GB, free: 68.15 MB / 0.6075 GB " [Timeout remaining time 629] (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: 40.157117197988555] Failed to read output from testmodel.py, exit status != 0: 30.675652792910114 30.692785275 29.826072346 Calling exit ...