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.001361/0.001361, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.467/1.467, allocations: 230.6 MB / 252.7 MB, free: 8.328 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.001657/0.001657, allocations: 213.4 kB / 309.2 MB, free: 3.156 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.04189/0.04189, allocations: 8.924 MB / 374.6 MB, free: 1.906 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.002455/0.002455, allocations: 81.2 kB / 0.4892 GB, free: 4.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1104, allocations: 55.62 MB / 0.5435 GB, free: 5.066 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_DOL): time 0.0449/0.1553, allocations: 39.22 MB / 0.5818 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02759/0.1829, allocations: 10.36 MB / 0.5919 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008707/0.1916, allocations: 354.1 kB / 0.5923 GB, free: 2.934 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02628/0.2178, allocations: 10.31 MB / 0.6024 GB, free: 8.594 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01415/0.232, allocations: 4.225 MB / 0.6065 GB, free: 4.352 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007655/0.2396, allocations: 2.49 MB / 0.6089 GB, free: 1.871 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02409/0.2637, allocations: 16.67 MB / 0.6252 GB, free: 1.148 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04837/0.3121, allocations: 20.58 MB / 0.6453 GB, free: 12.35 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01591/0.328, allocations: 8.716 MB / 0.6538 GB, free: 3.609 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4814/0.8095, allocations: 9.61 MB / 0.6632 GB, free: 29.92 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007256/0.8167, allocations: 2.42 MB / 0.6655 GB, free: 29.92 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009667/0.8264, allocations: 2.855 MB / 0.6683 GB, free: 29.92 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007435/0.8338, allocations: 4.825 MB / 0.673 GB, free: 29.92 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01572/0.8495, allocations: 9.215 MB / 0.682 GB, free: 28.31 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02919/0.8787, allocations: 32.23 MB / 0.7135 GB, free: 10.22 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.8787, allocations: 3.438 kB / 0.7135 GB, free: 10.22 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.8787, allocations: 1.594 kB / 0.7135 GB, free: 10.22 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.001019/0.8798, allocations: 0 / 0.7135 GB, free: 10.22 MB / 462.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.05266/0.9324, allocations: 19.01 MB / 0.7321 GB, free: 14.27 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.9325, allocations: 9.875 kB / 0.7321 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006961/0.9394, allocations: 2.015 MB / 0.7341 GB, free: 12.85 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04997/0.9894, allocations: 8.272 MB / 0.7421 GB, free: 5.199 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02676/1.016, allocations: 10.38 MB / 0.7523 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001352/1.018, allocations: 1.061 MB / 0.7533 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008131/1.026, allocations: 1.396 MB / 0.7547 GB, free: 8.73 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06352/1.089, allocations: 22.8 MB / 0.777 GB, free: 1.883 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004628/1.09, allocations: 20.84 kB / 0.777 GB, free: 1.863 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003592/1.093, allocations: 0.5775 MB / 0.7775 GB, free: 1.301 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008738/1.094, allocations: 0.7828 MB / 0.7783 GB, free: 0.5195 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05459/1.149, allocations: 21.06 MB / 0.7989 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1661/1.315, allocations: 71.09 MB / 0.8683 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2564/1.571, allocations: 13.97 MB / 0.8819 GB, free: 194.6 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007733/1.579, allocations: 4.729 MB / 0.8865 GB, free: 193.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0227/1.602, allocations: 12.68 MB / 0.8989 GB, free: 187.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.396e-05/1.602, allocations: 86.58 kB / 0.899 GB, free: 187.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=498): time 7.394e-06/1.602, allocations: 3.531 kB / 0.899 GB, free: 187.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=506): time 0.05373/1.655, allocations: 25.94 MB / 0.9243 GB, free: 177 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/1.655, allocations: 136.2 kB / 0.9245 GB, free: 176.9 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009505/1.665, allocations: 5.799 MB / 0.9301 GB, free: 174.8 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001351/1.666, allocations: 105.4 kB / 0.9302 GB, free: 174.7 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003649/1.67, allocations: 6.388 MB / 0.9365 GB, free: 169.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002178/1.672, allocations: 1.813 MB / 0.9383 GB, free: 168.4 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00221/1.674, allocations: 1.485 MB / 0.9397 GB, free: 167.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.126e-05/1.674, allocations: 301.1 kB / 0.94 GB, free: 167.4 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005049/1.679, allocations: 3.642 MB / 0.9435 GB, free: 165.9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006462/1.686, allocations: 6.48 MB / 0.9499 GB, free: 158.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01273/1.699, allocations: 10.79 MB / 0.9604 GB, free: 146.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001045/1.699, allocations: 28 kB / 0.9604 GB, free: 146.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02171/1.72, allocations: 12.03 MB / 0.9722 GB, free: 134.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.836e-05/1.72, allocations: 44.56 kB / 0.9722 GB, free: 134.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001432/1.721, allocations: 93.69 kB / 0.9723 GB, free: 134.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00442/1.725, allocations: 1.595 MB / 0.9739 GB, free: 132.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006363/1.731, allocations: 1.673 MB / 0.9755 GB, free: 130.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02007/1.751, allocations: 19.16 MB / 0.9942 GB, free: 111.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006882/1.758, allocations: 427.4 kB / 0.9946 GB, free: 110.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001491/1.76, allocations: 379.9 kB / 0.995 GB, free: 110.3 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.01093/1.771, allocations: 5.189 MB / 1 GB, free: 105.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002827/1.774, allocations: 0.6327 MB / 1.001 GB, free: 104.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02087/1.794, allocations: 9.165 MB / 1.01 GB, free: 95.21 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01055/1.805, allocations: 5.86 MB / 1.015 GB, free: 89.32 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.219e-05/1.805, allocations: 16 kB / 1.015 GB, free: 89.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001025/1.805, allocations: 31.89 kB / 1.015 GB, free: 89.27 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04449/1.85, allocations: 20.93 MB / 1.036 GB, free: 68.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.446e-05/1.85, allocations: 8 kB / 1.036 GB, free: 68.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004463/1.854, allocations: 0.8822 MB / 1.037 GB, free: 67.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005178/1.859, allocations: 1.642 MB / 1.038 GB, free: 65.72 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001273/1.861, allocations: 128 kB / 1.038 GB, free: 65.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02399/1.885, allocations: 22.53 MB / 1.06 GB, free: 42.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/1.885, allocations: 11.94 kB / 1.06 GB, free: 42.29 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02494/1.91, allocations: 13.59 MB / 1.074 GB, free: 28.37 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00508/1.915, allocations: 1.347 MB / 1.075 GB, free: 27.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002499/1.917, allocations: 112 kB / 1.075 GB, free: 26.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004855/1.922, allocations: 283.7 kB / 1.075 GB, free: 26.63 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001559/1.924, allocations: 444.1 kB / 1.076 GB, free: 26.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008802/1.924, allocations: 160 kB / 1.076 GB, free: 26.04 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008455/1.933, allocations: 3.904 MB / 1.08 GB, free: 22.16 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.8e-07/1.933, allocations: 0 / 1.08 GB, free: 22.16 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01309/1.946, allocations: 2.344 MB / 1.082 GB, free: 19.82 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.02709/1.973, allocations: 14.36 MB / 1.096 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.266/2.239, allocations: 9.459 MB / 1.105 GB, free: 208.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.616e-05/2.239, allocations: 2.188 kB / 1.105 GB, free: 208.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01043/2.25, allocations: 5.153 MB / 1.11 GB, free: 207.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009041/2.259, allocations: 1.652 MB / 1.112 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1251/2.384, allocations: 80.25 MB / 1.19 GB, free: 150.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01403/2.398, allocations: 8.864 MB / 1.199 GB, free: 142 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008414/2.406, allocations: 2.539 MB / 1.202 GB, free: 139.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008637/2.415, allocations: 5.194 MB / 1.207 GB, free: 134.2 MB / 0.5919 GB Notification: Performance of SimCode: time 9.62e-07/2.415, allocations: 0 / 1.207 GB, free: 134.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5244/2.939, allocations: 196.4 MB / 1.398 GB, free: 164 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.79/30.73, allocations: 0 / 1.398 GB, free: 164 MB / 0.5919 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: 37.40166401700117] Failed to read output from testmodel.py, exit status != 0: 30.945883337873966 30.957521716 30.075882335 Calling exit ...