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.002154/0.002154, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.553/1.553, allocations: 230.6 MB / 252.6 MB, free: 8.305 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.001804/0.001804, allocations: 214.7 kB / 309.2 MB, free: 3.137 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.04133/0.04133, allocations: 8.919 MB / 374.6 MB, free: 1.887 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMS_Characteristics1,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1",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.002532/0.002532, allocations: 87.86 kB / 0.4892 GB, free: 7.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.352, allocations: 55.6 MB / 0.5435 GB, free: 26.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.02111/0.3731, allocations: 27.22 MB / 0.5701 GB, free: 7.102 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01703/0.3901, allocations: 8.21 MB / 0.5781 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007876/0.398, allocations: 236.3 kB / 0.5783 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02534/0.4233, allocations: 9.473 MB / 0.5876 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01482/0.4381, allocations: 3.456 MB / 0.591 GB, free: 8.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008112/0.4462, allocations: 1.869 MB / 0.5928 GB, free: 7.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02352/0.4698, allocations: 12.38 MB / 0.6049 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04408/0.5139, allocations: 16.03 MB / 0.6205 GB, free: 13.97 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0148/0.5287, allocations: 6.636 MB / 0.627 GB, free: 7.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01528/0.5439, allocations: 7.308 MB / 0.6342 GB, free: 15.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006558/0.5505, allocations: 1.84 MB / 0.636 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009308/0.5598, allocations: 2.238 MB / 0.6381 GB, free: 11.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007244/0.5671, allocations: 3.616 MB / 0.6417 GB, free: 8.285 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01445/0.5815, allocations: 6.926 MB / 0.6484 GB, free: 1.332 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0382/0.6197, allocations: 24.82 MB / 0.6727 GB, free: 8.418 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.6197, allocations: 4 kB / 0.6727 GB, free: 8.414 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.6197, allocations: 0 / 0.6727 GB, free: 8.414 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0007434/0.6205, allocations: 0 / 0.6727 GB, free: 8.414 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.05417/0.6746, allocations: 14.69 MB / 0.687 GB, free: 9.625 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/0.6747, allocations: 8.031 kB / 0.687 GB, free: 9.617 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006769/0.6814, allocations: 1.788 MB / 0.6888 GB, free: 7.816 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5426/1.224, allocations: 8.434 MB / 0.697 GB, free: 102.3 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02191/1.246, allocations: 7.762 MB / 0.7046 GB, free: 99.55 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007079/1.247, allocations: 0.8071 MB / 0.7054 GB, free: 99.19 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005088/1.252, allocations: 1.065 MB / 0.7064 GB, free: 98.84 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05324/1.305, allocations: 18.34 MB / 0.7243 GB, free: 91.62 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006154/1.306, allocations: 19.36 kB / 0.7243 GB, free: 91.61 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005151/1.311, allocations: 452.2 kB / 0.7248 GB, free: 91.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001161/1.312, allocations: 0.6664 MB / 0.7254 GB, free: 91.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04016/1.352, allocations: 17.6 MB / 0.7426 GB, free: 84.68 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09777/1.45, allocations: 56.89 MB / 0.7982 GB, free: 28.37 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02032/1.47, allocations: 12.82 MB / 0.8107 GB, free: 17.55 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005352/1.476, allocations: 3.747 MB / 0.8144 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004716/1.476, allocations: 157.9 kB / 0.8145 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.135e-05/1.476, allocations: 94.56 kB / 0.8146 GB, free: 13.55 MB / 494.1 MB Notification: Performance of pre-optimization done (n=518): time 6.462e-06/1.476, allocations: 0 / 0.8146 GB, free: 13.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=524): time 0.04831/1.524, allocations: 21.45 MB / 0.8355 GB, free: 8.094 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/1.525, allocations: 103.5 kB / 0.8356 GB, free: 7.977 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007571/1.532, allocations: 4.199 MB / 0.8397 GB, free: 3.75 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.001103/1.533, allocations: 113.7 kB / 0.8399 GB, free: 3.633 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.004196/1.537, allocations: 4.669 MB / 0.8444 GB, free: 14.95 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.003026/1.54, allocations: 1.871 MB / 0.8462 GB, free: 13.09 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002427/1.543, allocations: 1.371 MB / 0.8476 GB, free: 11.71 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001353/1.543, allocations: 305.1 kB / 0.8479 GB, free: 11.41 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006787/1.55, allocations: 3.449 MB / 0.8512 GB, free: 7.961 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009425/1.559, allocations: 5.897 MB / 0.857 GB, free: 0.9688 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01671/1.576, allocations: 10.03 MB / 0.8668 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.169e-05/1.576, allocations: 24 kB / 0.8668 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02712/1.603, allocations: 10.95 MB / 0.8775 GB, free: 10.71 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000137/1.603, allocations: 40 kB / 0.8775 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001968/1.603, allocations: 83.88 kB / 0.8776 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00471/1.608, allocations: 1.44 MB / 0.879 GB, free: 9.141 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007647/1.616, allocations: 1.611 MB / 0.8806 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02135/1.637, allocations: 11.4 MB / 0.8917 GB, free: 12 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006314/1.643, allocations: 403.5 kB / 0.8921 GB, free: 11.61 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001728/1.645, allocations: 347.9 kB / 0.8925 GB, free: 11.27 MB / 0.5607 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 (840): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,40.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009922/1.655, allocations: 4.161 MB / 0.8965 GB, free: 7.086 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001863/1.657, allocations: 496.8 kB / 0.897 GB, free: 6.598 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01897/1.676, allocations: 8.44 MB / 0.9052 GB, free: 14.05 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01479/1.691, allocations: 7.073 MB / 0.9121 GB, free: 6.883 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.076e-05/1.691, allocations: 8 kB / 0.9122 GB, free: 6.875 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001155/1.691, allocations: 27.91 kB / 0.9122 GB, free: 6.848 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.31/2.001, allocations: 18.81 MB / 0.9306 GB, free: 174.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.862e-05/2.001, allocations: 3 kB / 0.9306 GB, free: 174.1 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00399/2.005, allocations: 0.9467 MB / 0.9315 GB, free: 174 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00353/2.008, allocations: 1.281 MB / 0.9327 GB, free: 173.8 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009973/2.009, allocations: 116.2 kB / 0.9328 GB, free: 173.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01436/2.024, allocations: 10.07 MB / 0.9427 GB, free: 168.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/2.024, allocations: 10.5 kB / 0.9427 GB, free: 168.5 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02387/2.048, allocations: 12.3 MB / 0.9547 GB, free: 163.4 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004996/2.053, allocations: 1.132 MB / 0.9558 GB, free: 163.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001865/2.055, allocations: 93.41 kB / 0.9559 GB, free: 163.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003705/2.058, allocations: 274.4 kB / 0.9562 GB, free: 163 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001091/2.059, allocations: 371.5 kB / 0.9565 GB, free: 162.9 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003911/2.06, allocations: 153.7 kB / 0.9567 GB, free: 162.9 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006129/2.066, allocations: 2.826 MB / 0.9594 GB, free: 161.8 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.1e-07/2.066, allocations: 0 / 0.9594 GB, free: 161.8 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.009318/2.075, allocations: 1.937 MB / 0.9613 GB, free: 161.6 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (ims.rotor.stray.port_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 (499): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0195/2.095, allocations: 13.04 MB / 0.974 GB, free: 156 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01524/2.11, allocations: 8.388 MB / 0.9822 GB, free: 152.4 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/2.11, allocations: 4 kB / 0.9822 GB, free: 152.4 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.006886/2.117, allocations: 3.892 MB / 0.986 GB, free: 149 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006208/2.123, allocations: 1.126 MB / 0.9871 GB, free: 148.1 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1062/2.229, allocations: 64.16 MB / 1.05 GB, free: 83.71 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01007/2.239, allocations: 7.009 MB / 1.057 GB, free: 76.66 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.005932/2.245, allocations: 2.325 MB / 1.059 GB, free: 74.32 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00633/2.252, allocations: 3.869 MB / 1.063 GB, free: 70.45 MB / 0.5763 GB Notification: Performance of SimCode: time 1.573e-06/2.252, allocations: 0 / 1.063 GB, free: 70.45 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.523/2.775, allocations: 157 MB / 1.216 GB, free: 157.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.19/26.96, allocations: 3.375 kB / 1.216 GB, free: 157.3 MB / 0.5919 GB " [Timeout remaining time 633] (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: 30.47195700299926] Failed to read output from testmodel.py, exit status != 0: 27.165191530948505 27.19028759 26.56585127 Calling exit ...