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.001369/0.001369, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.48/1.48, allocations: 230.6 MB / 252.7 MB, free: 8.105 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.001609/0.001609, allocations: 218.1 kB / 309.2 MB, free: 2.953 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.0414/0.0414, allocations: 8.91 MB / 374.6 MB, free: 1.742 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.002496/0.002496, allocations: 91.7 kB / 0.4892 GB, free: 4.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.107, allocations: 55.61 MB / 0.5435 GB, free: 4.863 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_DOL): time 0.04/0.147, allocations: 33.44 MB / 0.5761 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02294/0.1699, allocations: 10.03 MB / 0.5859 GB, free: 9.207 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00733/0.1773, allocations: 354.1 kB / 0.5863 GB, free: 8.859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02448/0.2017, allocations: 9.555 MB / 0.5956 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01507/0.2168, allocations: 4.145 MB / 0.5996 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008791/0.2256, allocations: 2.427 MB / 0.602 GB, free: 8.703 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02483/0.2504, allocations: 16.63 MB / 0.6183 GB, free: 8.012 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03765/0.2881, allocations: 20.3 MB / 0.6381 GB, free: 3.496 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01469/0.3027, allocations: 8.732 MB / 0.6466 GB, free: 10.74 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01709/0.3198, allocations: 9.202 MB / 0.6556 GB, free: 1.504 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.447/0.7668, allocations: 2.412 MB / 0.6579 GB, free: 35.89 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008937/0.7757, allocations: 2.812 MB / 0.6607 GB, free: 35.89 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007635/0.7834, allocations: 4.824 MB / 0.6654 GB, free: 35.89 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01681/0.8002, allocations: 7.171 MB / 0.6724 GB, free: 35.25 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03542/0.8356, allocations: 32.36 MB / 0.704 GB, free: 24.57 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.8356, allocations: 0 / 0.704 GB, free: 24.57 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.8356, allocations: 2.5 kB / 0.704 GB, free: 24.57 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000855/0.8365, allocations: 0 / 0.704 GB, free: 24.57 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.05264/0.8891, allocations: 18.99 MB / 0.7226 GB, free: 12.63 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.8892, allocations: 11.5 kB / 0.7226 GB, free: 12.63 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007044/0.8962, allocations: 2.016 MB / 0.7245 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04365/0.9398, allocations: 8.281 MB / 0.7326 GB, free: 6.203 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02883/0.9687, allocations: 10.35 MB / 0.7427 GB, free: 12.2 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001579/0.9703, allocations: 1.059 MB / 0.7438 GB, free: 11.15 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007327/0.9776, allocations: 1.39 MB / 0.7451 GB, free: 9.773 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06782/1.045, allocations: 23.1 MB / 0.7677 GB, free: 2.543 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007137/1.046, allocations: 23.89 kB / 0.7677 GB, free: 2.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004932/1.051, allocations: 0.5802 MB / 0.7683 GB, free: 1.957 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001066/1.052, allocations: 0.7793 MB / 0.769 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05121/1.103, allocations: 20.98 MB / 0.7895 GB, free: 12.2 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1596/1.263, allocations: 65.12 MB / 0.8531 GB, free: 10.98 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02835/1.291, allocations: 13.87 MB / 0.8667 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009574/1.301, allocations: 4.741 MB / 0.8713 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2661/1.567, allocations: 11.48 MB / 0.8825 GB, free: 194.9 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.854e-05/1.567, allocations: 95.09 kB / 0.8826 GB, free: 194.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=498): time 8.977e-06/1.567, allocations: 0 / 0.8826 GB, free: 194.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=506): time 0.06041/1.628, allocations: 25.94 MB / 0.9079 GB, free: 191 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/1.628, allocations: 136.2 kB / 0.9081 GB, free: 190.9 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01026/1.638, allocations: 5.959 MB / 0.9139 GB, free: 188.7 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001025/1.639, allocations: 108.9 kB / 0.914 GB, free: 188.6 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003529/1.642, allocations: 6.375 MB / 0.9202 GB, free: 183.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001886/1.644, allocations: 1.82 MB / 0.922 GB, free: 182.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00233/1.647, allocations: 1.484 MB / 0.9234 GB, free: 181.6 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.936e-05/1.647, allocations: 301.1 kB / 0.9237 GB, free: 181.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005185/1.652, allocations: 3.642 MB / 0.9273 GB, free: 180 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007584/1.659, allocations: 6.534 MB / 0.9337 GB, free: 174.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01258/1.672, allocations: 10.78 MB / 0.9442 GB, free: 165.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001073/1.672, allocations: 28 kB / 0.9442 GB, free: 165.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.0222/1.694, allocations: 12.03 MB / 0.956 GB, free: 155.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001726/1.694, allocations: 47.89 kB / 0.956 GB, free: 155.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002477/1.695, allocations: 92.56 kB / 0.9561 GB, free: 155.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004748/1.699, allocations: 1.596 MB / 0.9577 GB, free: 154.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006886/1.706, allocations: 1.678 MB / 0.9593 GB, free: 152.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02254/1.729, allocations: 18.89 MB / 0.9777 GB, free: 134.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007647/1.737, allocations: 427.5 kB / 0.9781 GB, free: 133.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001977/1.739, allocations: 371.9 kB / 0.9785 GB, free: 133.6 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.01152/1.75, allocations: 5.188 MB / 0.9836 GB, free: 128.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002669/1.753, allocations: 0.6327 MB / 0.9842 GB, free: 127.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01986/1.773, allocations: 9.168 MB / 0.9931 GB, free: 118.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009578/1.782, allocations: 5.863 MB / 0.9989 GB, free: 112.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.694e-05/1.782, allocations: 20 kB / 0.9989 GB, free: 112.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.676e-05/1.782, allocations: 31.89 kB / 0.9989 GB, free: 112.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04693/1.829, allocations: 19.97 MB / 1.018 GB, free: 92.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.763e-05/1.829, allocations: 4 kB / 1.018 GB, free: 92.58 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005843/1.835, allocations: 0.8783 MB / 1.019 GB, free: 91.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006964/1.842, allocations: 1.63 MB / 1.021 GB, free: 90.05 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001289/1.843, allocations: 132 kB / 1.021 GB, free: 89.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02481/1.868, allocations: 22.24 MB / 1.043 GB, free: 66.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/1.868, allocations: 7.938 kB / 1.043 GB, free: 66.91 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01958/1.888, allocations: 13.59 MB / 1.056 GB, free: 53 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00446/1.892, allocations: 1.355 MB / 1.057 GB, free: 51.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001972/1.894, allocations: 108 kB / 1.057 GB, free: 51.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004347/1.899, allocations: 275.7 kB / 1.058 GB, free: 51.26 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001208/1.9, allocations: 444.1 kB / 1.058 GB, free: 50.83 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004033/1.9, allocations: 156 kB / 1.058 GB, free: 50.68 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007797/1.908, allocations: 3.912 MB / 1.062 GB, free: 46.79 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/1.908, allocations: 0 / 1.062 GB, free: 46.79 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01224/1.92, allocations: 2.34 MB / 1.064 GB, free: 44.45 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.0203/1.941, allocations: 14.35 MB / 1.078 GB, free: 29.78 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01524/1.956, allocations: 9.464 MB / 1.088 GB, free: 20.24 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.656e-05/1.956, allocations: 192 / 1.088 GB, free: 20.24 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.008789/1.965, allocations: 5.163 MB / 1.093 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01076/1.975, allocations: 1.646 MB / 1.094 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3577/2.333, allocations: 80.23 MB / 1.173 GB, free: 169.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009142/2.342, allocations: 8.504 MB / 1.181 GB, free: 161.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006078/2.348, allocations: 2.539 MB / 1.183 GB, free: 159.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005944/2.354, allocations: 5.197 MB / 1.188 GB, free: 154.2 MB / 0.5919 GB Notification: Performance of SimCode: time 1.072e-06/2.354, allocations: 0 / 1.188 GB, free: 154.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5002/2.854, allocations: 195.3 MB / 1.379 GB, free: 179 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.95/23.8, allocations: 4 kB / 1.379 GB, free: 179 MB / 0.5919 GB " [Timeout remaining time 636] (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: 30.216644030995667] Failed to read output from testmodel.py, exit status != 0: 24.0150795429945 24.031637467 23.192183359 Calling exit ...