Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_Start.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.001292/0.001292, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.436/1.436, allocations: 230.6 MB / 252.7 MB, free: 14.27 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.001584/0.001584, allocations: 217.7 kB / 309.2 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.04273/0.04273, allocations: 8.91 MB / 374.6 MB, free: 6.633 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.IMS_Start,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMS_Start,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMS_Start",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.002644/0.002644, allocations: 84.16 kB / 0.4892 GB, free: 44.76 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07844/0.08108, allocations: 55.61 MB / 0.5435 GB, free: 5.043 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.2382/0.3193, allocations: 39.35 MB / 0.5819 GB, free: 5.402 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02871/0.348, allocations: 11.79 MB / 0.5934 GB, free: 14.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009893/0.3579, allocations: 432.2 kB / 0.5938 GB, free: 14.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03147/0.3893, allocations: 11.64 MB / 0.6052 GB, free: 7.875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01893/0.4083, allocations: 4.93 MB / 0.61 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01241/0.4207, allocations: 3.014 MB / 0.613 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0331/0.4538, allocations: 21.26 MB / 0.6337 GB, free: 1.605 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05754/0.5113, allocations: 26.49 MB / 0.6596 GB, free: 6.895 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01943/0.5308, allocations: 11.26 MB / 0.6706 GB, free: 11.6 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0213/0.5521, allocations: 11.82 MB / 0.6821 GB, free: 15.74 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008142/0.5602, allocations: 3.121 MB / 0.6852 GB, free: 12.62 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01109/0.5713, allocations: 3.539 MB / 0.6886 GB, free: 9.078 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009823/0.5811, allocations: 6.242 MB / 0.6947 GB, free: 2.82 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01856/0.5997, allocations: 9.258 MB / 0.7038 GB, free: 9.523 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05292/0.6526, allocations: 41.72 MB / 0.7445 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.6526, allocations: 4 kB / 0.7445 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6526, allocations: 0 / 0.7445 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.001083/0.6537, allocations: 0 / 0.7445 GB, free: 15.68 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5030 * Number of variables: 5030 Notification: Performance of Generate backend data structure: time 0.07203/0.7257, allocations: 24.28 MB / 0.7682 GB, free: 7.25 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.7258, allocations: 11.98 kB / 0.7682 GB, free: 7.238 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009226/0.735, allocations: 2.951 MB / 0.7711 GB, free: 4.273 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4241/1.159, allocations: 11.31 MB / 0.7822 GB, free: 149.7 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03147/1.191, allocations: 13.29 MB / 0.7951 GB, free: 145.6 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001469/1.192, allocations: 1.357 MB / 0.7965 GB, free: 145 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007439/1.199, allocations: 1.792 MB / 0.7982 GB, free: 144.4 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07313/1.273, allocations: 30.14 MB / 0.8276 GB, free: 125.6 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008154/1.273, allocations: 19.84 kB / 0.8277 GB, free: 125.6 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006625/1.28, allocations: 0.7446 MB / 0.8284 GB, free: 124.8 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008311/1.281, allocations: 0.9913 MB / 0.8294 GB, free: 123.8 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05064/1.331, allocations: 27.33 MB / 0.856 GB, free: 96.48 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.138/1.469, allocations: 84.49 MB / 0.9386 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02876/1.498, allocations: 18.83 MB / 0.9569 GB, free: 11.73 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01343/1.512, allocations: 6.705 MB / 0.9635 GB, free: 5.016 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04551/1.557, allocations: 18.08 MB / 0.9812 GB, free: 3.266 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000108/1.557, allocations: 108.5 kB / 0.9813 GB, free: 3.152 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=677): time 1.029e-05/1.557, allocations: 3.938 kB / 0.9813 GB, free: 3.148 MB / 0.5763 GB Notification: Performance of matching and sorting (n=685): time 0.5327/2.09, allocations: 37.51 MB / 1.018 GB, free: 189.1 MB / 0.6077 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.173e-05/2.09, allocations: 147.3 kB / 1.018 GB, free: 189 MB / 0.6077 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01462/2.105, allocations: 7.383 MB / 1.025 GB, free: 188.5 MB / 0.6077 GB Notification: Performance of collectPreVariables (initialization): time 0.001683/2.106, allocations: 141.4 kB / 1.025 GB, free: 188.4 MB / 0.6077 GB Notification: Performance of collectInitialEqns (initialization): time 0.006197/2.113, allocations: 8.047 MB / 1.033 GB, free: 185.3 MB / 0.6077 GB Notification: Performance of collectInitialBindings (initialization): time 0.002826/2.115, allocations: 2.445 MB / 1.036 GB, free: 183.7 MB / 0.6077 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003995/2.119, allocations: 1.865 MB / 1.037 GB, free: 182.8 MB / 0.6077 GB Notification: Performance of setup shared object (initialization): time 4.129e-05/2.119, allocations: 302.2 kB / 1.038 GB, free: 182.5 MB / 0.6077 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007627/2.127, allocations: 4.882 MB / 1.042 GB, free: 180.6 MB / 0.6077 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01018/2.137, allocations: 8.302 MB / 1.051 GB, free: 174.5 MB / 0.6077 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01782/2.155, allocations: 13.9 MB / 1.064 GB, free: 165.5 MB / 0.6077 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002598/2.155, allocations: 31.44 kB / 1.064 GB, free: 165.5 MB / 0.6077 GB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.02971/2.185, allocations: 15.88 MB / 1.08 GB, free: 159 MB / 0.6077 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/2.185, allocations: 51.91 kB / 1.08 GB, free: 159 MB / 0.6077 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002005/2.185, allocations: 107.8 kB / 1.08 GB, free: 159 MB / 0.6077 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005831/2.191, allocations: 2.548 MB / 1.082 GB, free: 158.3 MB / 0.6077 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007907/2.199, allocations: 2.075 MB / 1.084 GB, free: 158.1 MB / 0.6077 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03059/2.23, allocations: 29.67 MB / 1.113 GB, free: 135.4 MB / 0.6077 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007874/2.238, allocations: 0.5199 MB / 1.114 GB, free: 134.8 MB / 0.6077 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00203/2.24, allocations: 455.9 kB / 1.114 GB, free: 134.4 MB / 0.6077 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 493 * Number of states: 0 () * Number of discrete variables: 12 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,rheostatQS.booleanStep[3].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[1].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[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 (1072): * Single equations (assignments): 1062 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * 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): 8 systems {(1,1,100.0%), (18,100,41.0%), (1,5,100.0%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0125/2.252, allocations: 6.754 MB / 1.121 GB, free: 127.6 MB / 0.6077 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003015/2.255, allocations: 0.7957 MB / 1.122 GB, free: 126.8 MB / 0.6077 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02274/2.278, allocations: 12.74 MB / 1.134 GB, free: 113.9 MB / 0.6077 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01296/2.291, allocations: 8.2 MB / 1.142 GB, free: 105.6 MB / 0.6077 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.431e-05/2.291, allocations: 28 kB / 1.142 GB, free: 105.6 MB / 0.6077 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001408/2.291, allocations: 31.88 kB / 1.142 GB, free: 105.6 MB / 0.6077 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04809/2.339, allocations: 26.62 MB / 1.168 GB, free: 78.89 MB / 0.6077 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.523e-05/2.339, allocations: 8.719 kB / 1.168 GB, free: 78.88 MB / 0.6077 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004978/2.344, allocations: 1.119 MB / 1.169 GB, free: 77.76 MB / 0.6077 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006303/2.35, allocations: 2.648 MB / 1.172 GB, free: 75.09 MB / 0.6077 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001086/2.351, allocations: 159.9 kB / 1.172 GB, free: 74.93 MB / 0.6077 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03098/2.382, allocations: 34.44 MB / 1.206 GB, free: 39.29 MB / 0.6077 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/2.382, allocations: 8.188 kB / 1.206 GB, free: 39.28 MB / 0.6077 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02694/2.409, allocations: 18.54 MB / 1.224 GB, free: 20.54 MB / 0.6077 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005447/2.415, allocations: 1.8 MB / 1.226 GB, free: 18.73 MB / 0.6077 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002166/2.417, allocations: 124 kB / 1.226 GB, free: 18.61 MB / 0.6077 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004859/2.422, allocations: 387.6 kB / 1.226 GB, free: 18.23 MB / 0.6077 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001542/2.423, allocations: 0.5685 MB / 1.227 GB, free: 17.66 MB / 0.6077 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007962/2.424, allocations: 203.9 kB / 1.227 GB, free: 17.46 MB / 0.6077 GB Notification: Performance of sorting global known variables: time 0.007449/2.432, allocations: 4.852 MB / 1.232 GB, free: 12.63 MB / 0.6077 GB Notification: Performance of sort global known variables: time 2.2e-07/2.432, allocations: 4 kB / 1.232 GB, free: 12.63 MB / 0.6077 GB Notification: Performance of remove unused functions: time 0.01089/2.443, allocations: 3.062 MB / 1.235 GB, free: 9.566 MB / 0.6077 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 11 (ims.inertiaRotor.w,ims.stator.zeroInductor.i0,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.rotor.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,quadraticLoadTorque.phi,imsQS.inertiaRotor.w,imsQS.rotor.stray.port_p.reference.gamma,quadraticLoadTorqueQS.phi) * Number of discrete variables: 12 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,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 (560): * Single equations (assignments): 548 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,5,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,8,100.0%), (1,1,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (18,100,41.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.2659/2.708, allocations: 19.36 MB / 1.253 GB, free: 169.9 MB / 0.6077 GB Notification: Performance of simCode: created initialization part: time 0.02154/2.73, allocations: 12.81 MB / 1.266 GB, free: 166.8 MB / 0.6077 GB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/2.73, allocations: 1.312 kB / 1.266 GB, free: 166.8 MB / 0.6077 GB Notification: Performance of simCode: created simulation system equations: time 0.01147/2.741, allocations: 7.159 MB / 1.273 GB, free: 163.2 MB / 0.6077 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01132/2.753, allocations: 2.168 MB / 1.275 GB, free: 162.5 MB / 0.6077 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1617/2.914, allocations: 103.5 MB / 1.376 GB, free: 84.66 MB / 0.6077 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01925/2.934, allocations: 11.08 MB / 1.387 GB, free: 73.51 MB / 0.6077 GB Notification: Performance of simCode: alias equations: time 0.01006/2.944, allocations: 3.273 MB / 1.39 GB, free: 70.23 MB / 0.6077 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01049/2.954, allocations: 6.838 MB / 1.397 GB, free: 63.39 MB / 0.6077 GB Notification: Performance of SimCode: time 1.714e-06/2.954, allocations: 4 kB / 1.397 GB, free: 63.38 MB / 0.6077 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6556/3.61, allocations: 257.2 MB / 1.648 GB, free: 75.88 MB / 0.6389 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.93/28.54, allocations: 7.656 kB / 1.648 GB, free: 75.88 MB / 0.6389 GB " [Timeout remaining time 631] (rm -f HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMS_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_InductionMachines_IMS_Start_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_InductionMachines_IMS_Start.fmu > HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 38.68047366058454] Failed to read output from testmodel.py, exit status != 0: 28.806346984114498 28.821696462 28.165380373 Calling exit ...