Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.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.001868/0.001868, allocations: 116.1 kB / 17.17 MB, free: 6 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.656/1.656, allocations: 230.6 MB / 250.5 MB, free: 9.207 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.002641/0.002641, allocations: 219.2 kB / 306.7 MB, free: 4.273 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.04216/0.04216, allocations: 8.917 MB / 371.7 MB, free: 3.406 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_Characteristics1,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMS_Characteristics1,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1",fmuType="cs",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.002557/0.002557, allocations: 83.88 kB / 496.5 MB, free: 9.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3972/0.3998, allocations: 55.56 MB / 0.5391 GB, free: 26.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.02522/0.425, allocations: 27.16 MB / 0.5656 GB, free: 6.973 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02206/0.447, allocations: 8.193 MB / 0.5736 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009084/0.4561, allocations: 242.8 kB / 0.5738 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02953/0.4857, allocations: 9.438 MB / 0.583 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02185/0.5075, allocations: 3.37 MB / 0.5863 GB, free: 9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008972/0.5165, allocations: 1.837 MB / 0.5881 GB, free: 7.566 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02845/0.5449, allocations: 12.25 MB / 0.6001 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04739/0.5923, allocations: 18.65 MB / 0.6183 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01885/0.6112, allocations: 6.585 MB / 0.6247 GB, free: 6.098 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01809/0.6293, allocations: 7.289 MB / 0.6318 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00834/0.6376, allocations: 1.84 MB / 0.6336 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01341/0.651, allocations: 2.234 MB / 0.6358 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009852/0.6609, allocations: 3.616 MB / 0.6394 GB, free: 7.086 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02114/0.682, allocations: 6.93 MB / 0.6461 GB, free: 132 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05001/0.732, allocations: 24.81 MB / 0.6704 GB, free: 7.234 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.001e-05/0.732, allocations: 0 / 0.6704 GB, free: 7.234 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.732, allocations: 0 / 0.6704 GB, free: 7.234 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0009806/0.733, allocations: 0 / 0.6704 GB, free: 7.234 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.06738/0.8004, allocations: 14.77 MB / 0.6848 GB, free: 8.344 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.901e-05/0.8005, allocations: 8.031 kB / 0.6848 GB, free: 8.336 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0005538/0.801, allocations: 331.6 kB / 0.6851 GB, free: 8.008 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01022/0.8113, allocations: 1.78 MB / 0.6868 GB, free: 6.215 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6852/1.496, allocations: 8.442 MB / 0.6951 GB, free: 102.4 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02894/1.525, allocations: 7.689 MB / 0.7026 GB, free: 99.55 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002032/1.527, allocations: 0.8028 MB / 0.7034 GB, free: 99.2 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009452/1.537, allocations: 1.06 MB / 0.7044 GB, free: 98.85 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0803/1.617, allocations: 18.34 MB / 0.7223 GB, free: 91.62 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009701/1.618, allocations: 18.28 kB / 0.7223 GB, free: 91.62 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006563/1.625, allocations: 453.7 kB / 0.7228 GB, free: 91.28 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001366/1.626, allocations: 0.6692 MB / 0.7234 GB, free: 91.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05148/1.678, allocations: 17.59 MB / 0.7406 GB, free: 84.16 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1153/1.793, allocations: 59.4 MB / 0.7986 GB, free: 24.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04029/1.833, allocations: 37 MB / 0.8347 GB, free: 15.34 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0101/1.843, allocations: 3.752 MB / 0.8384 GB, free: 11.56 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/1.844, allocations: 319.8 kB / 0.8387 GB, free: 11.24 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000118/1.844, allocations: 86.64 kB / 0.8388 GB, free: 11.14 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=520): time 7.885e-06/1.844, allocations: 0 / 0.8388 GB, free: 11.14 MB / 0.5138 GB Notification: Performance of matching and sorting (n=599): time 0.09605/1.94, allocations: 34.32 MB / 0.8723 GB, free: 8.719 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001684/1.941, allocations: 112.1 kB / 0.8724 GB, free: 8.594 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008844/1.949, allocations: 4.196 MB / 0.8765 GB, free: 4.371 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001352/1.951, allocations: 121.7 kB / 0.8766 GB, free: 4.246 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005218/1.956, allocations: 4.682 MB / 0.8812 GB, free: 15.53 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.005074/1.961, allocations: 2.119 MB / 0.8833 GB, free: 13.39 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003235/1.964, allocations: 1.467 MB / 0.8847 GB, free: 11.91 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.0001919/1.965, allocations: 308.9 kB / 0.885 GB, free: 11.61 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007935/1.972, allocations: 3.923 MB / 0.8888 GB, free: 7.688 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01166/1.984, allocations: 6.412 MB / 0.8951 GB, free: 192 kB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02031/2.004, allocations: 11.13 MB / 0.906 GB, free: 3.895 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001038/2.005, allocations: 24 kB / 0.906 GB, free: 3.871 MB / 0.5763 GB Notification: Performance of matching and sorting (n=985) (initialization): time 0.4071/2.412, allocations: 13.12 MB / 0.9188 GB, free: 177.5 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/2.412, allocations: 39.66 kB / 0.9188 GB, free: 177.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002185/2.412, allocations: 78.38 kB / 0.9189 GB, free: 177.5 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009304/2.421, allocations: 2.862 MB / 0.9217 GB, free: 176.9 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008145/2.429, allocations: 1.633 MB / 0.9233 GB, free: 176.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04414/2.474, allocations: 24.1 MB / 0.9468 GB, free: 164.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009065/2.483, allocations: 423.8 kB / 0.9472 GB, free: 164 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002977/2.486, allocations: 360.1 kB / 0.9476 GB, free: 163.9 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (846): * Single equations (assignments): 843 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(14,56,41.3%), (14,56,37.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01487/2.5, allocations: 4.251 MB / 0.9517 GB, free: 161.9 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001968/2.502, allocations: 0.5172 MB / 0.9522 GB, free: 161.9 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02056/2.523, allocations: 10.67 MB / 0.9627 GB, free: 157.6 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01772/2.541, allocations: 9.133 MB / 0.9716 GB, free: 154 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.342e-05/2.541, allocations: 22.5 kB / 0.9716 GB, free: 154 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002134/2.541, allocations: 34.62 kB / 0.9716 GB, free: 154 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05149/2.592, allocations: 23.1 MB / 0.9942 GB, free: 135.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.503e-05/2.593, allocations: 7.875 kB / 0.9942 GB, free: 135.3 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005031/2.598, allocations: 0.9596 MB / 0.9951 GB, free: 134.3 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007361/2.605, allocations: 2.562 MB / 0.9976 GB, free: 131.8 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001326/2.606, allocations: 128 kB / 0.9978 GB, free: 131.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0253/2.632, allocations: 20.33 MB / 1.018 GB, free: 111 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/2.632, allocations: 4 kB / 1.018 GB, free: 111 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02616/2.658, allocations: 15.21 MB / 1.032 GB, free: 95.65 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004155/2.662, allocations: 1.327 MB / 1.034 GB, free: 94.31 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001627/2.663, allocations: 104 kB / 1.034 GB, free: 94.21 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00384/2.667, allocations: 287.8 kB / 1.034 GB, free: 93.93 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001215/2.669, allocations: 417.5 kB / 1.035 GB, free: 93.51 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003909/2.669, allocations: 172 kB / 1.035 GB, free: 93.34 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.004668/2.674, allocations: 2.827 MB / 1.037 GB, free: 90.5 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.31e-07/2.674, allocations: 0 / 1.037 GB, free: 90.5 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.009633/2.683, allocations: 2.143 MB / 1.04 GB, free: 88.37 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (voltageSource.plug_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (511): * Single equations (assignments): 508 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(14,50,40.3%), (14,56,38.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02442/2.708, allocations: 16 MB / 1.055 GB, free: 72.2 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.02087/2.729, allocations: 10.31 MB / 1.065 GB, free: 61.82 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-05/2.729, allocations: 0 / 1.065 GB, free: 61.82 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.01196/2.74, allocations: 5.211 MB / 1.07 GB, free: 56.58 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01052/2.751, allocations: 1.154 MB / 1.071 GB, free: 55.45 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5144/3.265, allocations: 70.47 MB / 1.14 GB, free: 187.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01303/3.278, allocations: 7.189 MB / 1.147 GB, free: 186.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008905/3.287, allocations: 2.35 MB / 1.15 GB, free: 186.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009547/3.297, allocations: 4.043 MB / 1.154 GB, free: 183.3 MB / 0.5919 GB Notification: Performance of SimCode: time 3.035e-06/3.297, allocations: 4.812 kB / 1.154 GB, free: 183.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2837/3.581, allocations: 168.6 MB / 1.318 GB, free: 38.03 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.95/28.53, allocations: 10.36 kB / 1.318 GB, free: 38.03 MB / 0.5919 GB " [Timeout remaining time 631] (rm -f HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1.fmu > HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 32.53059605701128] Failed to read output from testmodel.py, exit status != 0: 28.760986667010002 28.775002771 28.039329607 Calling exit ...