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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007486/0.0007487, allocations: 91.92 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 223.3 MB / 239 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 180.2 kB / 290.3 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03297/0.03297, allocations: 8.785 MB / 350.1 MB, free: 4.668 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003654, allocations: 15 kB / 413.3 MB, free: 42.92 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1092, allocations: 52.56 MB / 465.8 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.02335/0.1326, allocations: 23.5 MB / 489.3 MB, free: 5.809 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01833/0.1509, allocations: 7.41 MB / 496.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006437/0.1574, allocations: 183.4 kB / 496.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006942/0.1644, allocations: 1.48 MB / 498.4 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01102/0.1754, allocations: 2.75 MB / 0.4894 GB, free: 9.957 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004858/0.1803, allocations: 1.234 MB / 0.4906 GB, free: 8.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02046/0.2008, allocations: 14.63 MB / 0.5049 GB, free: 10.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04455/0.2454, allocations: 19.82 MB / 0.5243 GB, free: 6.148 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01018/0.2556, allocations: 4.77 MB / 0.5289 GB, free: 1.363 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2546/0.5103, allocations: 5.297 MB / 0.5341 GB, free: 20.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003484/0.5138, allocations: 0.723 MB / 0.5348 GB, free: 20.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0059/0.5197, allocations: 1.062 MB / 0.5358 GB, free: 20.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004531/0.5243, allocations: 2.222 MB / 0.538 GB, free: 20.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005895/0.5302, allocations: 2.314 MB / 0.5403 GB, free: 20.29 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02428/0.5545, allocations: 20.94 MB / 0.5607 GB, free: 11.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.5545, allocations: 0 / 0.5607 GB, free: 11.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.5545, allocations: 0 / 0.5607 GB, free: 11.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0007803/0.5553, allocations: 0 / 0.5607 GB, free: 11.75 MB / 366.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.03757/0.5929, allocations: 12.27 MB / 0.5727 GB, free: 5.773 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/0.593, allocations: 10.31 kB / 0.5727 GB, free: 5.773 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009723/0.6027, allocations: 1.786 MB / 0.5745 GB, free: 5.359 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04434/0.6471, allocations: 8.473 MB / 0.5827 GB, free: 2.121 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01686/0.664, allocations: 7.382 MB / 0.5899 GB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007421/0.6647, allocations: 0.8116 MB / 0.5907 GB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004356/0.6691, allocations: 1.062 MB / 0.5918 GB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04681/0.7159, allocations: 18.23 MB / 0.6096 GB, free: 2.816 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005417/0.7165, allocations: 7.906 kB / 0.6096 GB, free: 2.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004802/0.7213, allocations: 451.6 kB / 0.61 GB, free: 2.379 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007959/0.7221, allocations: 0.6633 MB / 0.6107 GB, free: 1.715 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04212/0.7643, allocations: 17.47 MB / 0.6277 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1108/0.8751, allocations: 58.84 MB / 0.6852 GB, free: 5 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2832/1.158, allocations: 37.43 MB / 0.7217 GB, free: 122.4 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006539/1.165, allocations: 4.146 MB / 0.7258 GB, free: 122.3 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004586/1.165, allocations: 195.1 kB / 0.726 GB, free: 122.2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.613e-05/1.166, allocations: 91.56 kB / 0.7261 GB, free: 122.2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=524): time 6.893e-06/1.166, allocations: 0 / 0.7261 GB, free: 122.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=530): time 0.05199/1.218, allocations: 23.9 MB / 0.7494 GB, free: 117.9 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/1.218, allocations: 112.2 kB / 0.7495 GB, free: 117.8 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006683/1.224, allocations: 4.143 MB / 0.7535 GB, free: 116.3 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001031/1.225, allocations: 109.3 kB / 0.7537 GB, free: 116.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002469/1.228, allocations: 4.509 MB / 0.7581 GB, free: 112.8 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002327/1.23, allocations: 1.79 MB / 0.7598 GB, free: 111.4 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004614/1.231, allocations: 147 kB / 0.7599 GB, free: 111.3 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003724/1.231, allocations: 0.5931 MB / 0.7605 GB, free: 110.9 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004655/1.236, allocations: 3.458 MB / 0.7639 GB, free: 109.6 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005907/1.242, allocations: 5.898 MB / 0.7697 GB, free: 105.1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006671/1.248, allocations: 4.785 MB / 0.7743 GB, free: 102.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.558e-05/1.248, allocations: 24 kB / 0.7744 GB, free: 102.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.01779/1.266, allocations: 10.96 MB / 0.7851 GB, free: 92.19 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.435e-05/1.266, allocations: 36 kB / 0.7851 GB, free: 92.15 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001549/1.267, allocations: 80.56 kB / 0.7852 GB, free: 92.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00312/1.27, allocations: 1.387 MB / 0.7865 GB, free: 90.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005784/1.275, allocations: 1.615 MB / 0.7881 GB, free: 89.07 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01329/1.289, allocations: 10.55 MB / 0.7984 GB, free: 78.38 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007312/1.296, allocations: 415.8 kB / 0.7988 GB, free: 77.97 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001933/1.298, allocations: 332 kB / 0.7991 GB, free: 77.65 MB / 478.1 MB 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 (843): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.3%) 56} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01137/1.309, allocations: 4.162 MB / 0.8032 GB, free: 73.47 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001943/1.311, allocations: 474.1 kB / 0.8036 GB, free: 73 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01753/1.329, allocations: 8.536 MB / 0.812 GB, free: 64.39 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0128/1.342, allocations: 7.12 MB / 0.8189 GB, free: 57.18 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-05/1.342, allocations: 12 kB / 0.8189 GB, free: 57.16 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.042e-05/1.342, allocations: 27.89 kB / 0.819 GB, free: 57.14 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04371/1.386, allocations: 19.39 MB / 0.8379 GB, free: 37.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.697e-05/1.386, allocations: 4 kB / 0.8379 GB, free: 37.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003533/1.389, allocations: 0.9323 MB / 0.8388 GB, free: 36.55 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003024/1.392, allocations: 1.238 MB / 0.84 GB, free: 35.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008616/1.393, allocations: 112 kB / 0.8401 GB, free: 35.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01122/1.404, allocations: 9.295 MB / 0.8492 GB, free: 25.77 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/1.405, allocations: 0 / 0.8492 GB, free: 25.77 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.018/1.423, allocations: 12.34 MB / 0.8613 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003426/1.426, allocations: 1.174 MB / 0.8624 GB, free: 12.02 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001519/1.428, allocations: 100 kB / 0.8625 GB, free: 11.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00334/1.431, allocations: 275.7 kB / 0.8628 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007971/1.432, allocations: 360 kB / 0.8631 GB, free: 11.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004028/1.432, allocations: 148 kB / 0.8632 GB, free: 11.16 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006547/1.439, allocations: 2.784 MB / 0.866 GB, free: 8.363 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.9e-07/1.439, allocations: 1.203 kB / 0.866 GB, free: 8.363 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01064/1.449, allocations: 1.936 MB / 0.8679 GB, free: 6.434 MB / 478.1 MB 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 (502): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,40.3%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0238/1.473, allocations: 13.11 MB / 0.8807 GB, free: 9.133 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01869/1.492, allocations: 8.745 MB / 0.8892 GB, free: 336 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/1.492, allocations: 0 / 0.8892 GB, free: 336 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2469/1.739, allocations: 4.193 MB / 0.8933 GB, free: 157.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007321/1.746, allocations: 1.085 MB / 0.8944 GB, free: 157.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1365/1.883, allocations: 55.9 MB / 0.949 GB, free: 125.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01292/1.896, allocations: 7.009 MB / 0.9558 GB, free: 119.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.008257/1.904, allocations: 2.317 MB / 0.9581 GB, free: 118.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007264/1.911, allocations: 3.839 MB / 0.9618 GB, free: 114.5 MB / 494.1 MB Notification: Performance of SimCode: time 2.525e-06/1.911, allocations: 0 / 0.9618 GB, free: 114.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3827/2.294, allocations: 144.4 MB / 1.103 GB, free: 134.8 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000127/2.294, allocations: 211.6 kB / 1.103 GB, free: 134.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.675/6.969, allocations: 2.391 kB / 1.103 GB, free: 134.5 MB / 494.1 MB (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/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1.fmu > HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe 2>&1) Environment - environmentSimulation: