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.001068/0.001068, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.879/0.879, allocations: 177.1 MB / 199.4 MB, free: 5.961 MB / 186.7 MB " [Timeout remaining time 179] 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.0009923/0.0009923, allocations: 156.6 kB / 256 MB, free: 13.37 MB / 250.7 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.02194/0.02194, allocations: 6.666 MB / 319 MB, free: 26.78 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 445.4 MB, free: 37.51 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.902e-05/2.113e-05, allocations: 5.094 kB / 445.4 MB, free: 37.5 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_DOL): time 0.0203/0.02032, allocations: 33.48 MB / 478.9 MB, free: 3.875 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01937/0.03969, allocations: 10.04 MB / 488.9 MB, free: 9.801 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006901/0.04659, allocations: 362 kB / 489.3 MB, free: 9.445 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01283/0.05942, allocations: 10.07 MB / 499.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01011/0.06953, allocations: 4.227 MB / 0.4918 GB, free: 11.1 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00535/0.07488, allocations: 2.439 MB / 0.4942 GB, free: 8.672 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01693/0.09181, allocations: 17.26 MB / 0.511 GB, free: 7.344 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02778/0.1196, allocations: 20.35 MB / 0.5309 GB, free: 2.781 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01841/0.138, allocations: 12.78 MB / 0.5434 GB, free: 5.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01118/0.1492, allocations: 8.151 MB / 0.5513 GB, free: 13.81 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006035/0.1552, allocations: 2.414 MB / 0.5537 GB, free: 11.4 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0083/0.1635, allocations: 2.835 MB / 0.5565 GB, free: 8.562 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005783/0.1693, allocations: 4.909 MB / 0.5613 GB, free: 3.641 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.3308/0.5001, allocations: 6.187 MB / 0.5673 GB, free: 45.35 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0252/0.5253, allocations: 32.62 MB / 0.5992 GB, free: 38.58 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.5253, allocations: 3.984 kB / 0.5992 GB, free: 38.58 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.385e-06/0.5253, allocations: 0 / 0.5992 GB, free: 38.58 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.000914/0.5262, allocations: 2.625 kB / 0.5992 GB, free: 38.58 MB / 426.8 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.04247/0.5687, allocations: 18.84 MB / 0.6176 GB, free: 27.95 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.5688, allocations: 11.34 kB / 0.6176 GB, free: 27.95 MB / 426.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007227/0.576, allocations: 2.006 MB / 0.6195 GB, free: 26.53 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02527/0.6013, allocations: 8.288 MB / 0.6276 GB, free: 22.74 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01653/0.6178, allocations: 10.35 MB / 0.6377 GB, free: 12.88 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000619/0.6184, allocations: 1.061 MB / 0.6388 GB, free: 11.83 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005389/0.6238, allocations: 1.398 MB / 0.6401 GB, free: 10.44 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0489/0.6727, allocations: 23.09 MB / 0.6627 GB, free: 3.223 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005359/0.6732, allocations: 19.91 kB / 0.6627 GB, free: 3.203 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005981/0.6792, allocations: 0.5802 MB / 0.6633 GB, free: 2.637 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005751/0.6798, allocations: 0.7791 MB / 0.664 GB, free: 1.859 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03907/0.7189, allocations: 20.98 MB / 0.6845 GB, free: 12.87 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1113/0.8301, allocations: 65.15 MB / 0.7482 GB, free: 11.64 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2012/1.031, allocations: 13.88 MB / 0.7617 GB, free: 182.5 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007769/1.039, allocations: 4.735 MB / 0.7663 GB, free: 182.5 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01754/1.057, allocations: 11.48 MB / 0.7775 GB, free: 181.4 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.884e-05/1.057, allocations: 89.89 kB / 0.7776 GB, free: 181.3 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=498): time 6.552e-06/1.057, allocations: 1.438 kB / 0.7776 GB, free: 181.3 MB / 0.5262 GB Notification: Performance of matching and sorting (n=506): time 0.03451/1.091, allocations: 25.94 MB / 0.803 GB, free: 170.6 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/1.091, allocations: 140.7 kB / 0.8031 GB, free: 170.5 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005501/1.097, allocations: 5.96 MB / 0.8089 GB, free: 165.5 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.000594/1.097, allocations: 113.5 kB / 0.809 GB, free: 165.4 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001892/1.099, allocations: 6.352 MB / 0.8152 GB, free: 159.8 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001104/1.1, allocations: 1.794 MB / 0.817 GB, free: 158.1 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001417/1.102, allocations: 1.47 MB / 0.8184 GB, free: 156.8 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 2.658e-05/1.102, allocations: 305.1 kB / 0.8187 GB, free: 156.5 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003318/1.105, allocations: 3.64 MB / 0.8223 GB, free: 153.4 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004831/1.11, allocations: 6.528 MB / 0.8286 GB, free: 146.3 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01049/1.12, allocations: 10.78 MB / 0.8392 GB, free: 135.1 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001211/1.121, allocations: 28 kB / 0.8392 GB, free: 135 MB / 0.5262 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01563/1.136, allocations: 12.03 MB / 0.851 GB, free: 123.1 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 5.812e-05/1.136, allocations: 48.06 kB / 0.851 GB, free: 123.1 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001095/1.136, allocations: 95.94 kB / 0.8511 GB, free: 123 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002611/1.139, allocations: 1.597 MB / 0.8526 GB, free: 121.4 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003762/1.143, allocations: 1.673 MB / 0.8543 GB, free: 119.7 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01272/1.155, allocations: 18.88 MB / 0.8727 GB, free: 100.3 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005394/1.161, allocations: 423.6 kB / 0.8731 GB, free: 99.85 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001195/1.162, allocations: 372.1 kB / 0.8735 GB, free: 99.49 MB / 0.5262 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.007511/1.17, allocations: 5.191 MB / 0.8785 GB, free: 94.28 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001143/1.171, allocations: 0.6367 MB / 0.8792 GB, free: 93.64 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009828/1.18, allocations: 9.169 MB / 0.8881 GB, free: 84.43 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005537/1.186, allocations: 5.864 MB / 0.8938 GB, free: 78.53 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-05/1.186, allocations: 16 kB / 0.8939 GB, free: 78.52 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.429e-05/1.186, allocations: 27.91 kB / 0.8939 GB, free: 78.49 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02787/1.214, allocations: 19.97 MB / 0.9134 GB, free: 58.46 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/1.214, allocations: 4.781 kB / 0.9134 GB, free: 58.46 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001877/1.216, allocations: 0.8776 MB / 0.9142 GB, free: 57.58 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002632/1.218, allocations: 1.639 MB / 0.9158 GB, free: 55.92 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003361/1.219, allocations: 135.9 kB / 0.916 GB, free: 55.79 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01379/1.233, allocations: 22.22 MB / 0.9377 GB, free: 32.82 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/1.233, allocations: 7.938 kB / 0.9377 GB, free: 32.81 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01459/1.247, allocations: 13.58 MB / 0.9509 GB, free: 18.91 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003388/1.251, allocations: 1.351 MB / 0.9523 GB, free: 17.55 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009027/1.252, allocations: 100 kB / 0.9524 GB, free: 17.45 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001766/1.253, allocations: 283.7 kB / 0.9526 GB, free: 17.17 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007322/1.254, allocations: 436.2 kB / 0.953 GB, free: 16.75 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002361/1.254, allocations: 159.9 kB / 0.9532 GB, free: 16.59 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.004268/1.259, allocations: 3.916 MB / 0.957 GB, free: 12.7 MB / 0.5262 GB Notification: Performance of sort global known variables: time 2.61e-07/1.259, allocations: 0 / 0.957 GB, free: 12.7 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.006577/1.265, allocations: 2.34 MB / 0.9593 GB, free: 10.36 MB / 0.5262 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.2198/1.485, allocations: 14.35 MB / 0.9733 GB, free: 166.3 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.01367/1.499, allocations: 9.465 MB / 0.9826 GB, free: 165.2 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.791e-05/1.499, allocations: 0 / 0.9826 GB, free: 165.2 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.007189/1.506, allocations: 5.148 MB / 0.9876 GB, free: 164.2 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006754/1.512, allocations: 1.651 MB / 0.9892 GB, free: 164 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1212/1.634, allocations: 80.22 MB / 1.068 GB, free: 101.7 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01553/1.649, allocations: 8.496 MB / 1.076 GB, free: 93.28 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.006149/1.655, allocations: 2.539 MB / 1.078 GB, free: 90.73 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007305/1.663, allocations: 5.202 MB / 1.083 GB, free: 85.53 MB / 0.5262 GB Notification: Performance of SimCode: time 2.024e-06/1.663, allocations: 0 / 1.083 GB, free: 85.53 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3642/2.027, allocations: 194.8 MB / 1.274 GB, free: 94.32 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.06/16.09, allocations: 10.03 kB / 1.274 GB, free: 94.32 MB / 0.5262 GB " [Timeout remaining time 644] (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: 19.924742721021175] Failed to read output from testmodel.py, exit status != 0: 16.260113762691617 16.266824 15.739895469 Calling exit ...