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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 105.6 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.6 MB / 244.8 MB, free: 14.16 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 200.3 kB / 299.8 MB, free: 9.82 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04091/0.04091, allocations: 8.936 MB / 363.6 MB, free: 10.18 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002368/0.002368, allocations: 84.94 kB / 486.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1095, allocations: 54.41 MB / 0.5278 GB, free: 1.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_DOL): time 0.04435/0.1539, allocations: 38.47 MB / 0.5654 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02223/0.1761, allocations: 10.06 MB / 0.5752 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00666/0.1827, allocations: 291.1 kB / 0.5755 GB, free: 336 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02441/0.2072, allocations: 10.28 MB / 0.5855 GB, free: 6.027 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01498/0.2221, allocations: 4.122 MB / 0.5895 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007497/0.2296, allocations: 2.382 MB / 0.5919 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02237/0.252, allocations: 16.4 MB / 0.6079 GB, free: 15.06 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04382/0.2958, allocations: 23.67 MB / 0.631 GB, free: 7.137 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4588/0.7546, allocations: 8.506 MB / 0.6393 GB, free: 23.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01753/0.7722, allocations: 9.426 MB / 0.6485 GB, free: 23.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007489/0.7797, allocations: 2.416 MB / 0.6509 GB, free: 23.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01165/0.7913, allocations: 2.814 MB / 0.6536 GB, free: 23.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008029/0.7993, allocations: 4.826 MB / 0.6583 GB, free: 22.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01472/0.814, allocations: 9.202 MB / 0.6673 GB, free: 20.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0355/0.8496, allocations: 32.18 MB / 0.6987 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.8496, allocations: 0 / 0.6987 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.8496, allocations: 0 / 0.6987 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008115/0.8504, allocations: 0 / 0.6987 GB, free: 0.9844 MB / 446.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.0603/0.9107, allocations: 19.02 MB / 0.7173 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.9107, allocations: 12.03 kB / 0.7173 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007682/0.9184, allocations: 2.008 MB / 0.7193 GB, free: 14.65 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04782/0.9662, allocations: 8.37 MB / 0.7275 GB, free: 6.363 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02774/0.994, allocations: 10.25 MB / 0.7375 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001394/0.9954, allocations: 1.057 MB / 0.7385 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006043/1.001, allocations: 1.402 MB / 0.7399 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05921/1.061, allocations: 22.75 MB / 0.7621 GB, free: 3.262 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006958/1.061, allocations: 15.91 kB / 0.7621 GB, free: 3.246 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005192/1.066, allocations: 0.576 MB / 0.7627 GB, free: 2.684 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009903/1.067, allocations: 0.7832 MB / 0.7634 GB, free: 1.898 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0613/1.129, allocations: 21.01 MB / 0.7839 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1467/1.275, allocations: 72.18 MB / 0.8544 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2742/1.55, allocations: 41.78 MB / 0.8952 GB, free: 171.1 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007567/1.557, allocations: 4.713 MB / 0.8998 GB, free: 169.3 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02852/1.586, allocations: 12.7 MB / 0.9122 GB, free: 163.6 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.664e-05/1.586, allocations: 87.77 kB / 0.9123 GB, free: 163.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=498): time 1.279e-05/1.586, allocations: 3.406 kB / 0.9123 GB, free: 163.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=506): time 0.06813/1.654, allocations: 26.61 MB / 0.9383 GB, free: 152 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/1.654, allocations: 128.3 kB / 0.9384 GB, free: 151.9 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008558/1.663, allocations: 5.769 MB / 0.9441 GB, free: 149.7 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0008081/1.663, allocations: 112.8 kB / 0.9442 GB, free: 149.6 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002951/1.666, allocations: 6.359 MB / 0.9504 GB, free: 144.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001536/1.668, allocations: 1.821 MB / 0.9522 GB, free: 142.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002413/1.67, allocations: 1.471 MB / 0.9536 GB, free: 141.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.34e-05/1.67, allocations: 301.1 kB / 0.9539 GB, free: 141 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005515/1.676, allocations: 3.634 MB / 0.9574 GB, free: 138 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006212/1.682, allocations: 6.477 MB / 0.9638 GB, free: 130.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01059/1.693, allocations: 10.76 MB / 0.9743 GB, free: 118.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-05/1.693, allocations: 28 kB / 0.9743 GB, free: 118.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01928/1.712, allocations: 12.07 MB / 0.9861 GB, free: 106 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.211e-05/1.712, allocations: 48.09 kB / 0.9861 GB, free: 106 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001008/1.712, allocations: 96 kB / 0.9862 GB, free: 105.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003872/1.716, allocations: 1.602 MB / 0.9878 GB, free: 104.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005714/1.722, allocations: 1.661 MB / 0.9894 GB, free: 102.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01868/1.74, allocations: 19.68 MB / 1.009 GB, free: 82.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006373/1.747, allocations: 427.5 kB / 1.009 GB, free: 81.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00147/1.748, allocations: 371.9 kB / 1.009 GB, free: 81.46 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.008163/1.756, allocations: 5.184 MB / 1.014 GB, free: 76.27 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001374/1.758, allocations: 0.625 MB / 1.015 GB, free: 75.64 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01509/1.773, allocations: 9.308 MB / 1.024 GB, free: 66.23 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00932/1.782, allocations: 5.829 MB / 1.03 GB, free: 60.37 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.986e-05/1.782, allocations: 23.94 kB / 1.03 GB, free: 60.35 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.776e-05/1.782, allocations: 35.62 kB / 1.03 GB, free: 60.32 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0382/1.821, allocations: 20.95 MB / 1.05 GB, free: 39.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.195e-05/1.821, allocations: 4 kB / 1.05 GB, free: 39.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003957/1.825, allocations: 0.862 MB / 1.051 GB, free: 38.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004434/1.829, allocations: 1.642 MB / 1.053 GB, free: 36.73 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001/1.83, allocations: 127.9 kB / 1.053 GB, free: 36.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02246/1.852, allocations: 23.25 MB / 1.076 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/1.852, allocations: 11.94 kB / 1.076 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.285/2.137, allocations: 13.69 MB / 1.089 GB, free: 184.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005802/2.143, allocations: 1.384 MB / 1.09 GB, free: 184.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001927/2.145, allocations: 107.7 kB / 1.09 GB, free: 184.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004181/2.149, allocations: 286.9 kB / 1.091 GB, free: 184.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00122/2.151, allocations: 412.2 kB / 1.091 GB, free: 184.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004062/2.151, allocations: 154.2 kB / 1.091 GB, free: 184.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00663/2.158, allocations: 3.9 MB / 1.095 GB, free: 184 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.51e-07/2.158, allocations: 0 / 1.095 GB, free: 184 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009762/2.167, allocations: 2.336 MB / 1.097 GB, free: 184 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,13,100.0%), (1,5,100.0%), (1,8,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.02184/2.189, allocations: 14.47 MB / 1.112 GB, free: 178.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01711/2.206, allocations: 9.527 MB / 1.121 GB, free: 174.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.486e-05/2.206, allocations: 0 / 1.121 GB, free: 174.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.009033/2.215, allocations: 5.141 MB / 1.126 GB, free: 172.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008947/2.224, allocations: 1.632 MB / 1.127 GB, free: 171.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1285/2.353, allocations: 80.19 MB / 1.206 GB, free: 107.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01188/2.365, allocations: 8.852 MB / 1.214 GB, free: 98.98 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006064/2.371, allocations: 2.531 MB / 1.217 GB, free: 96.44 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005847/2.377, allocations: 5.154 MB / 1.222 GB, free: 91.28 MB / 0.5919 GB Notification: Performance of SimCode: time 1.002e-06/2.377, allocations: 0 / 1.222 GB, free: 91.28 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.522/2.899, allocations: 189.1 MB / 1.407 GB, free: 137.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.02/27.92, allocations: 10.7 kB / 1.407 GB, free: 137.5 MB / 0.5919 GB " [Timeout remaining time 632] (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: 35.34685065411031] Failed to read output from testmodel.py, exit status != 0: 28.289837851189077 28.132507779 27.277760737 Calling exit ...