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.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.001349/0.001349, allocations: 109.1 kB / 16.46 MB, free: 6.504 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.477/1.477, 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.001996/0.001996, allocations: 196.9 kB / 299.8 MB, free: 9.805 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.04159/0.04159, allocations: 8.935 MB / 363.6 MB, free: 10.15 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.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: Performance of FrontEnd - loaded program: time 0.002421/0.002421, allocations: 85.09 kB / 486.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1287, allocations: 54.41 MB / 0.5278 GB, free: 1.305 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.05567/0.1844, allocations: 45.5 MB / 0.5723 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03175/0.2161, allocations: 11.81 MB / 0.5838 GB, free: 7.754 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0108/0.2269, allocations: 354.8 kB / 0.5841 GB, free: 7.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03244/0.2594, allocations: 12.5 MB / 0.5963 GB, free: 10.87 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01984/0.2792, allocations: 4.922 MB / 0.6011 GB, free: 5.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01065/0.2899, allocations: 2.929 MB / 0.604 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.03575/0.3256, allocations: 20.94 MB / 0.6245 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.6401/0.9657, allocations: 31.62 MB / 0.6553 GB, free: 9.641 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02126/0.987, allocations: 10.98 MB / 0.6661 GB, free: 8.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02623/1.013, allocations: 12.15 MB / 0.6779 GB, free: 6.898 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01007/1.023, allocations: 3.134 MB / 0.681 GB, free: 6.898 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01332/1.037, allocations: 3.539 MB / 0.6844 GB, free: 5.957 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01395/1.051, allocations: 6.273 MB / 0.6906 GB, free: 3.328 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.04269/1.093, allocations: 13.4 MB / 0.7036 GB, free: 12.7 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06488/1.158, allocations: 41.53 MB / 0.7442 GB, free: 3.883 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/1.158, allocations: 0 / 0.7442 GB, free: 3.883 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.016e-06/1.158, allocations: 0 / 0.7442 GB, free: 3.883 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001897/1.16, allocations: 0 / 0.7442 GB, free: 3.883 MB / 494.1 MB 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.08311/1.243, allocations: 24.33 MB / 0.768 GB, free: 11.57 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/1.243, allocations: 8.031 kB / 0.768 GB, free: 11.56 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01154/1.255, allocations: 2.952 MB / 0.7709 GB, free: 8.613 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06306/1.318, allocations: 11.43 MB / 0.782 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03739/1.355, allocations: 13.46 MB / 0.7952 GB, free: 316 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002107/1.357, allocations: 1.366 MB / 0.7965 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00946/1.367, allocations: 1.789 MB / 0.7983 GB, free: 13.19 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09417/1.461, allocations: 29.59 MB / 0.8271 GB, free: 15.52 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001063/1.462, allocations: 31.27 kB / 0.8272 GB, free: 15.5 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008901/1.471, allocations: 0.7388 MB / 0.8279 GB, free: 14.78 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00162/1.472, allocations: 0.9868 MB / 0.8289 GB, free: 13.79 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07204/1.544, allocations: 27.3 MB / 0.8555 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7091/2.254, allocations: 93.16 MB / 0.9465 GB, free: 133.5 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03828/2.292, allocations: 51.09 MB / 0.9964 GB, free: 81.97 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01223/2.304, allocations: 6.663 MB / 1.003 GB, free: 75.3 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04704/2.351, allocations: 20.05 MB / 1.022 GB, free: 55.61 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.036e-05/2.351, allocations: 112.5 kB / 1.023 GB, free: 55.49 MB / 0.592 GB Notification: Performance of pre-optimization done (n=677): time 1.043e-05/2.351, allocations: 0 / 1.023 GB, free: 55.49 MB / 0.592 GB Notification: Performance of matching and sorting (n=685): time 0.08821/2.439, allocations: 38.46 MB / 1.06 GB, free: 17.38 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.49e-05/2.44, allocations: 151.1 kB / 1.06 GB, free: 17.21 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01347/2.453, allocations: 7.112 MB / 1.067 GB, free: 10.2 MB / 0.592 GB Notification: Performance of collectPreVariables (initialization): time 0.001499/2.455, allocations: 137.7 kB / 1.067 GB, free: 10.05 MB / 0.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.004298/2.459, allocations: 8.076 MB / 1.075 GB, free: 2.676 MB / 0.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.002593/2.461, allocations: 2.433 MB / 1.078 GB, free: 284 kB / 0.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003499/2.465, allocations: 1.876 MB / 1.079 GB, free: 14.39 MB / 0.6077 GB Notification: Performance of setup shared object (initialization): time 0.0001387/2.465, allocations: 305.1 kB / 1.08 GB, free: 14.09 MB / 0.6077 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009423/2.474, allocations: 4.852 MB / 1.084 GB, free: 9.23 MB / 0.6077 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3264/2.801, allocations: 8.335 MB / 1.093 GB, free: 195.2 MB / 0.6077 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02159/2.822, allocations: 14 MB / 1.106 GB, free: 188.7 MB / 0.6077 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001334/2.823, allocations: 31.66 kB / 1.106 GB, free: 188.7 MB / 0.6077 GB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.03069/2.853, allocations: 16.04 MB / 1.122 GB, free: 182.4 MB / 0.6077 GB Notification: Performance of prepare postOptimizeDAE: time 9.18e-05/2.853, allocations: 54.81 kB / 1.122 GB, free: 182.4 MB / 0.6077 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001741/2.854, allocations: 117.9 kB / 1.122 GB, free: 182.4 MB / 0.6077 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006305/2.86, allocations: 2.57 MB / 1.125 GB, free: 181.7 MB / 0.6077 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007892/2.868, allocations: 2.104 MB / 1.127 GB, free: 181.5 MB / 0.6077 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03108/2.899, allocations: 30.8 MB / 1.157 GB, free: 161.2 MB / 0.6077 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00886/2.908, allocations: 0.5345 MB / 1.157 GB, free: 161 MB / 0.6077 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002056/2.91, allocations: 456.4 kB / 1.158 GB, free: 160.9 MB / 0.6077 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * 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 (1089): * Single equations (assignments): 1079 * 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,38.3%), (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.01206/2.922, allocations: 6.761 MB / 1.164 GB, free: 156.4 MB / 0.6077 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002233/2.924, allocations: 0.8009 MB / 1.165 GB, free: 156 MB / 0.6077 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01991/2.944, allocations: 13.01 MB / 1.178 GB, free: 145 MB / 0.6077 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01165/2.956, allocations: 8.155 MB / 1.186 GB, free: 138 MB / 0.6077 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-05/2.956, allocations: 24 kB / 1.186 GB, free: 138 MB / 0.6077 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001162/2.956, allocations: 38.45 kB / 1.186 GB, free: 138 MB / 0.6077 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05264/3.008, allocations: 27.86 MB / 1.213 GB, free: 111 MB / 0.6077 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.907e-05/3.008, allocations: 4 kB / 1.213 GB, free: 111 MB / 0.6077 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004691/3.013, allocations: 1.108 MB / 1.214 GB, free: 109.9 MB / 0.6077 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005807/3.019, allocations: 2.624 MB / 1.217 GB, free: 107.2 MB / 0.6077 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001047/3.02, allocations: 152 kB / 1.217 GB, free: 107.1 MB / 0.6077 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03038/3.05, allocations: 35.89 MB / 1.252 GB, free: 70.06 MB / 0.6077 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/3.05, allocations: 4 kB / 1.252 GB, free: 70.06 MB / 0.6077 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0262/3.077, allocations: 18.74 MB / 1.27 GB, free: 51.13 MB / 0.6077 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005707/3.082, allocations: 1.794 MB / 1.272 GB, free: 49.32 MB / 0.6077 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003552/3.086, allocations: 131.8 kB / 1.272 GB, free: 49.19 MB / 0.6077 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006314/3.092, allocations: 395.5 kB / 1.272 GB, free: 48.8 MB / 0.6077 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002169/3.094, allocations: 0.5267 MB / 1.273 GB, free: 48.28 MB / 0.6077 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006706/3.095, allocations: 196 kB / 1.273 GB, free: 48.09 MB / 0.6077 GB Notification: Performance of sorting global known variables: time 0.008154/3.103, allocations: 4.786 MB / 1.278 GB, free: 43.33 MB / 0.6077 GB Notification: Performance of sort global known variables: time 4.01e-07/3.103, allocations: 7.938 kB / 1.278 GB, free: 43.32 MB / 0.6077 GB Notification: Performance of remove unused functions: time 0.01264/3.116, allocations: 3.064 MB / 1.281 GB, free: 40.26 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,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,5,100.0%), (1,8,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.02737/3.143, allocations: 19.55 MB / 1.3 GB, free: 20.43 MB / 0.6077 GB Notification: Performance of simCode: created initialization part: time 0.01935/3.163, allocations: 12.88 MB / 1.313 GB, free: 7.387 MB / 0.6077 GB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/3.163, allocations: 4 kB / 1.313 GB, free: 7.383 MB / 0.6077 GB Notification: Performance of simCode: created simulation system equations: time 0.2931/3.456, allocations: 7.125 MB / 1.319 GB, free: 200.5 MB / 0.6077 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01448/3.47, allocations: 2.141 MB / 1.322 GB, free: 200.2 MB / 0.6077 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1743/3.644, allocations: 103.5 MB / 1.423 GB, free: 127.4 MB / 0.6077 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01838/3.663, allocations: 11.35 MB / 1.434 GB, free: 116 MB / 0.6077 GB Notification: Performance of simCode: alias equations: time 0.0131/3.676, allocations: 3.288 MB / 1.437 GB, free: 112.7 MB / 0.6077 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01055/3.686, allocations: 6.822 MB / 1.444 GB, free: 105.9 MB / 0.6077 GB Notification: Performance of SimCode: time 1.393e-06/3.686, allocations: 0 / 1.444 GB, free: 105.9 MB / 0.6077 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6011/4.288, allocations: 248.2 MB / 1.686 GB, free: 78.29 MB / 0.6077 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.98/35.27, allocations: 10.53 kB / 1.686 GB, free: 78.29 MB / 0.6077 GB " [Timeout remaining time 624] (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: 47.33299754885957] Failed to read output from testmodel.py, exit status != 0: 35.70003886567429 35.512525407 34.350260527 Calling exit ...