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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04305/0.04305, allocations: 8.709 MB / 16.79 MB, free: 3.387 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 221.5 MB / 240.9 MB, free: 13.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009011/0.0009011, allocations: 95.36 kB / 293.9 MB, free: 7.184 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.434e-05/1.436e-05, allocations: 4 kB / 352.7 MB, free: 1.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1055, allocations: 52.55 MB / 405.3 MB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3885/0.494, allocations: 130.4 MB / 0.5231 GB, free: 5.422 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/0.4944, allocations: 83.22 kB / 0.5232 GB, free: 5.344 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.236/1.731, allocations: 375.4 MB / 0.8898 GB, free: 1.801 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.427e-06/1.731, allocations: 0 / 0.8898 GB, free: 1.801 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001093/1.732, allocations: 239.7 kB / 0.8901 GB, free: 1.566 MB / 442.7 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.04392/1.776, allocations: 10.17 MB / 0.9 GB, free: 7.309 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/1.776, allocations: 8.031 kB / 0.9 GB, free: 7.301 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03428/1.81, allocations: 5.629 MB / 0.9055 GB, free: 1.652 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.773/2.583, allocations: 8.934 MB / 0.9142 GB, free: 30.29 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007426/2.584, allocations: 342.7 kB / 0.9145 GB, free: 30.29 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005419/2.589, allocations: 0.5956 MB / 0.9151 GB, free: 30.29 MB / 458.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03452/2.624, allocations: 14.3 MB / 0.9291 GB, free: 30.24 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.055/2.679, allocations: 16.15 MB / 0.9449 GB, free: 29.08 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000826/2.68, allocations: 16.78 kB / 0.9449 GB, free: 29.07 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004374/2.684, allocations: 17.95 kB / 0.9449 GB, free: 29.07 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00154/2.686, allocations: 0.8645 MB / 0.9457 GB, free: 29.05 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1314/2.817, allocations: 57.78 MB / 1.002 GB, free: 9.031 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03808/2.855, allocations: 37.97 MB / 1.039 GB, free: 7.562 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008853/2.864, allocations: 4.419 MB / 1.044 GB, free: 5.887 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00075/2.865, allocations: 182.7 kB / 1.044 GB, free: 5.781 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.477e-05/2.865, allocations: 96.27 kB / 1.044 GB, free: 5.699 MB / 490.8 MB Notification: Performance of pre-optimization done (n=524): time 6.683e-06/2.865, allocations: 0 / 1.044 GB, free: 5.699 MB / 490.8 MB Notification: Performance of matching and sorting (n=530): time 0.04176/2.907, allocations: 18.64 MB / 1.062 GB, free: 14.08 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.569e-05/2.907, allocations: 108.1 kB / 1.062 GB, free: 14.01 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005883/2.913, allocations: 3.176 MB / 1.065 GB, free: 12.76 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001091/2.914, allocations: 25.7 kB / 1.065 GB, free: 12.73 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003302/2.918, allocations: 4.518 MB / 1.07 GB, free: 9.234 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002892/2.92, allocations: 1.726 MB / 1.071 GB, free: 7.648 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004385/2.921, allocations: 0 / 1.071 GB, free: 7.648 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0005347/2.921, allocations: 0.5928 MB / 1.072 GB, free: 7.137 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005306/2.927, allocations: 3.463 MB / 1.075 GB, free: 4.07 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008086/2.935, allocations: 5.845 MB / 1.081 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01253/2.947, allocations: 5.887 MB / 1.087 GB, free: 8.961 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00013/2.948, allocations: 24 kB / 1.087 GB, free: 8.938 MB / 0.5105 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.4316/3.379, allocations: 11.63 MB / 1.098 GB, free: 83.26 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.55e-05/3.379, allocations: 42.16 kB / 1.098 GB, free: 83.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001957/3.38, allocations: 79.56 kB / 1.098 GB, free: 83.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004098/3.384, allocations: 1.43 MB / 1.1 GB, free: 83.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007774/3.392, allocations: 1.654 MB / 1.101 GB, free: 83.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01477/3.406, allocations: 10.59 MB / 1.112 GB, free: 81.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00594/3.412, allocations: 335.6 kB / 1.112 GB, free: 81.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00159/3.414, allocations: 336.1 kB / 1.112 GB, free: 81.88 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 356 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (838): * Single equations (assignments): 833 * 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.8%) 62} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001364/3.415, allocations: 328.6 kB / 1.113 GB, free: 81.77 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01536/3.431, allocations: 8.398 MB / 1.121 GB, free: 81.51 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001354/3.432, allocations: 453.3 kB / 1.121 GB, free: 81.51 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02002/3.452, allocations: 9.414 MB / 1.13 GB, free: 81.18 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01641/3.469, allocations: 8.078 MB / 1.138 GB, free: 80.92 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.688e-05/3.469, allocations: 13.19 kB / 1.138 GB, free: 80.92 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.434e-05/3.469, allocations: 27.34 kB / 1.138 GB, free: 80.92 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0435/3.512, allocations: 19.81 MB / 1.158 GB, free: 79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-05/3.512, allocations: 6.281 kB / 1.158 GB, free: 79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004175/3.516, allocations: 0.9891 MB / 1.159 GB, free: 79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003047/3.52, allocations: 1.178 MB / 1.16 GB, free: 78.97 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008254/3.52, allocations: 34.84 kB / 1.16 GB, free: 78.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01323/3.534, allocations: 8.84 MB / 1.168 GB, free: 77.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-06/3.534, allocations: 5.453 kB / 1.168 GB, free: 77.59 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02511/3.559, allocations: 13.64 MB / 1.182 GB, free: 76.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003689/3.563, allocations: 1.187 MB / 1.183 GB, free: 76.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001241/3.564, allocations: 3.781 kB / 1.183 GB, free: 76.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003285/3.567, allocations: 256.3 kB / 1.183 GB, free: 76.15 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000856/3.568, allocations: 352.7 kB / 1.184 GB, free: 76.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003428/3.568, allocations: 148 kB / 1.184 GB, free: 76.06 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004335/3.573, allocations: 2.311 MB / 1.186 GB, free: 75.14 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.7e-07/3.573, allocations: 0 / 1.186 GB, free: 75.14 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00895/3.582, allocations: 1.734 MB / 1.188 GB, free: 75.12 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (speed.phi,resistor.resistor[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete 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,37.8%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02354/3.605, allocations: 14.97 MB / 1.202 GB, free: 68.53 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01594/3.621, allocations: 8.658 MB / 1.211 GB, free: 65.27 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/3.621, allocations: 3.75 kB / 1.211 GB, free: 65.27 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008299/3.63, allocations: 4.239 MB / 1.215 GB, free: 63.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006139/3.636, allocations: 0.7763 MB / 1.216 GB, free: 63.44 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04897/3.685, allocations: 19.67 MB / 1.235 GB, free: 47.82 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009929/3.695, allocations: 7.195 MB / 1.242 GB, free: 42.34 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007952/3.703, allocations: 2.332 MB / 1.244 GB, free: 40.81 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007344/3.71, allocations: 3.902 MB / 1.248 GB, free: 37.18 MB / 0.5105 GB Notification: Performance of SimCode: time 1.333e-06/3.71, allocations: 0 / 1.248 GB, free: 37.18 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5722/4.282, allocations: 140.4 MB / 1.385 GB, free: 66.84 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001905/4.283, allocations: 145.3 kB / 1.385 GB, free: 66.65 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.616/9.899, allocations: 2.734 kB / 1.385 GB, free: 66.65 MB / 0.5105 GB (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)