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.001926/0.001926, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.457/1.457, allocations: 230.6 MB / 253.5 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.001682/0.001682, allocations: 209.6 kB / 310 MB, free: 3.055 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.04169/0.04169, allocations: 8.916 MB / 375.4 MB, free: 6.582 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.002628/0.002628, allocations: 87.88 kB / 0.4899 GB, free: 44.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09049/0.09311, allocations: 55.61 MB / 0.5442 GB, free: 5.039 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.237/0.3301, allocations: 23.23 MB / 0.5669 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01532/0.3454, allocations: 7.841 MB / 0.5746 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006648/0.3521, allocations: 231.9 kB / 0.5748 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02041/0.3725, allocations: 8.725 MB / 0.5833 GB, free: 6.863 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01052/0.383, allocations: 3.399 MB / 0.5866 GB, free: 5.152 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005342/0.3884, allocations: 1.81 MB / 0.5884 GB, free: 4.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01603/0.4044, allocations: 12.36 MB / 0.6005 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03439/0.4388, allocations: 16.05 MB / 0.6161 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01263/0.4514, allocations: 6.633 MB / 0.6226 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01301/0.4644, allocations: 7.312 MB / 0.6297 GB, free: 6.062 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004939/0.4694, allocations: 1.84 MB / 0.6315 GB, free: 4.223 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007634/0.477, allocations: 2.23 MB / 0.6337 GB, free: 1.992 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006859/0.4839, allocations: 3.62 MB / 0.6373 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01472/0.4986, allocations: 5.382 MB / 0.6425 GB, free: 8.961 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03413/0.5327, allocations: 24.91 MB / 0.6668 GB, free: 15.97 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.5327, allocations: 0 / 0.6668 GB, free: 15.97 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5327, allocations: 4 kB / 0.6668 GB, free: 15.97 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000693/0.5334, allocations: 0 / 0.6668 GB, free: 15.97 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.04676/0.5802, allocations: 14.69 MB / 0.6812 GB, free: 1.176 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/0.5802, allocations: 11.98 kB / 0.6812 GB, free: 1.164 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004055/0.5806, allocations: 335.6 kB / 0.6815 GB, free: 0.832 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006922/0.5876, allocations: 1.78 MB / 0.6833 GB, free: 15.04 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04807/0.6356, allocations: 8.44 MB / 0.6915 GB, free: 6.582 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01741/0.653, allocations: 7.773 MB / 0.6991 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008352/0.6539, allocations: 0.8067 MB / 0.6999 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00417/0.658, allocations: 1.07 MB / 0.7009 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0444/0.7024, allocations: 18.57 MB / 0.7191 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003809/0.7028, allocations: 19.91 kB / 0.7191 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003169/0.706, allocations: 451.9 kB / 0.7195 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007566/0.7067, allocations: 0.6633 MB / 0.7202 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03763/0.7444, allocations: 17.6 MB / 0.7373 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5291/1.273, allocations: 52.22 MB / 0.7883 GB, free: 139 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02388/1.297, allocations: 12.71 MB / 0.8007 GB, free: 138.6 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006882/1.304, allocations: 3.747 MB / 0.8044 GB, free: 138.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000568/1.305, allocations: 122.8 kB / 0.8045 GB, free: 138.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.176e-05/1.305, allocations: 86.2 kB / 0.8046 GB, free: 138.4 MB / 0.545 GB Notification: Performance of pre-optimization done (n=520): time 9.268e-06/1.305, allocations: 2.469 kB / 0.8046 GB, free: 138.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=599): time 0.0727/1.378, allocations: 34.1 MB / 0.8379 GB, free: 125.1 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/1.378, allocations: 117.5 kB / 0.838 GB, free: 125 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006127/1.384, allocations: 4.189 MB / 0.8421 GB, free: 122.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001008/1.385, allocations: 124.2 kB / 0.8422 GB, free: 122.7 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002357/1.387, allocations: 4.68 MB / 0.8468 GB, free: 119.2 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002219/1.389, allocations: 2.119 MB / 0.8489 GB, free: 117.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004133/1.394, allocations: 1.47 MB / 0.8503 GB, free: 116.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.019e-05/1.394, allocations: 304.8 kB / 0.8506 GB, free: 116.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005257/1.399, allocations: 3.926 MB / 0.8544 GB, free: 114.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006416/1.405, allocations: 6.428 MB / 0.8607 GB, free: 106.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01249/1.418, allocations: 11.13 MB / 0.8716 GB, free: 94.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.48e-05/1.418, allocations: 20 kB / 0.8716 GB, free: 94.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=985) (initialization): time 0.02249/1.44, allocations: 13.12 MB / 0.8844 GB, free: 81.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001117/1.44, allocations: 40 kB / 0.8845 GB, free: 81.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001389/1.441, allocations: 78.94 kB / 0.8845 GB, free: 81.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007349/1.448, allocations: 2.866 MB / 0.8873 GB, free: 78.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005705/1.454, allocations: 1.63 MB / 0.8889 GB, free: 76.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02931/1.483, allocations: 23.51 MB / 0.9119 GB, free: 52.94 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005592/1.489, allocations: 427.4 kB / 0.9123 GB, free: 52.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001517/1.49, allocations: 359.9 kB / 0.9126 GB, free: 52.17 MB / 0.545 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.00815/1.498, allocations: 4.251 MB / 0.9168 GB, free: 47.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001751/1.5, allocations: 0.5201 MB / 0.9173 GB, free: 47.38 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01973/1.52, allocations: 10.66 MB / 0.9277 GB, free: 36.62 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01508/1.535, allocations: 9.137 MB / 0.9366 GB, free: 27.39 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.558e-05/1.535, allocations: 23.94 kB / 0.9366 GB, free: 27.37 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001187/1.535, allocations: 31.88 kB / 0.9367 GB, free: 27.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04418/1.579, allocations: 22.07 MB / 0.9582 GB, free: 5.102 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-05/1.579, allocations: 256 / 0.9582 GB, free: 5.102 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004056/1.583, allocations: 0.9673 MB / 0.9592 GB, free: 4.133 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007013/1.59, allocations: 2.567 MB / 0.9617 GB, free: 1.559 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001141/1.591, allocations: 132 kB / 0.9618 GB, free: 1.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03177/1.623, allocations: 19.73 MB / 0.9811 GB, free: 13.48 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.887e-06/1.623, allocations: 7.938 kB / 0.9811 GB, free: 13.47 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2887/1.912, allocations: 15.21 MB / 0.9959 GB, free: 174.1 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004142/1.916, allocations: 1.278 MB / 0.9972 GB, free: 174.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001579/1.918, allocations: 107.8 kB / 0.9973 GB, free: 174.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003496/1.921, allocations: 289.1 kB / 0.9976 GB, free: 174.1 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001296/1.922, allocations: 444.8 kB / 0.998 GB, free: 174.1 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005013/1.923, allocations: 171 kB / 0.9981 GB, free: 174.1 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.005194/1.928, allocations: 2.823 MB / 1.001 GB, free: 174 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9e-08/1.928, allocations: 2.219 kB / 1.001 GB, free: 174 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.009221/1.937, allocations: 2.147 MB / 1.003 GB, free: 174 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.02817/1.965, allocations: 15.99 MB / 1.019 GB, free: 169.7 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01902/1.984, allocations: 10.31 MB / 1.029 GB, free: 165.7 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/1.985, allocations: 1.125 kB / 1.029 GB, free: 165.7 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.009858/1.994, allocations: 5.214 MB / 1.034 GB, free: 163.6 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007923/2.002, allocations: 1.163 MB / 1.035 GB, free: 163.2 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1282/2.13, allocations: 70.62 MB / 1.104 GB, free: 103.9 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0112/2.142, allocations: 6.768 MB / 1.11 GB, free: 97.05 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006704/2.148, allocations: 2.347 MB / 1.113 GB, free: 94.7 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006947/2.155, allocations: 4.041 MB / 1.117 GB, free: 90.66 MB / 0.5763 GB Notification: Performance of SimCode: time 2.425e-06/2.155, allocations: 0 / 1.117 GB, free: 90.66 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4578/2.613, allocations: 172.5 MB / 1.285 GB, free: 153.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.75/26.37, allocations: 5.547 kB / 1.285 GB, free: 153.9 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: 29.931214864947833] Failed to read output from testmodel.py, exit status != 0: 26.610524086048827 26.620817474 26.085467472 Calling exit ...