Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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/Complex 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) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",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.0007951/0.0007951, allocations: 90.78 kB / 16.31 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008312/0.0008314, allocations: 180.3 kB / 17.21 MB, free: 5.477 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.4/1.4, allocations: 223.3 MB / 241.2 MB, free: 14.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002831/0.0002833, allocations: 12 kB / 301 MB, free: 6.109 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1283, allocations: 50.41 MB / 351.4 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.2295/0.3579, allocations: 21.52 MB / 372.9 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02038/0.3783, allocations: 6.741 MB / 379.6 MB, free: 9.422 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006283/0.3847, allocations: 168.3 kB / 379.8 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006793/0.3915, allocations: 1.35 MB / 381.1 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0102/0.4017, allocations: 2.394 MB / 383.5 MB, free: 8.414 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005155/0.4069, allocations: 1.149 MB / 384.7 MB, free: 8.312 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02185/0.4288, allocations: 13.18 MB / 397.9 MB, free: 4.289 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04039/0.4692, allocations: 17.96 MB / 415.8 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01119/0.4804, allocations: 4.198 MB / 420 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009699/0.4902, allocations: 4.569 MB / 424.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003123/0.4933, allocations: 0.6445 MB / 425.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006556/0.4999, allocations: 0.9917 MB / 426.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004022/0.504, allocations: 1.896 MB / 428.1 MB, free: 8.957 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005857/0.5099, allocations: 2.048 MB / 430.2 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02286/0.5327, allocations: 18.98 MB / 449.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.5328, allocations: 2.625 kB / 449.2 MB, free: 3.898 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.5328, allocations: 0 / 449.2 MB, free: 3.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0006503/0.5335, allocations: 0 / 449.2 MB, free: 3.898 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.03362/0.5671, allocations: 10.79 MB / 459.9 MB, free: 9.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/0.5672, allocations: 8.031 kB / 459.9 MB, free: 9.082 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007789/0.575, allocations: 1.544 MB / 461.5 MB, free: 7.523 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03543/0.6104, allocations: 6.188 MB / 467.7 MB, free: 1.316 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02017/0.6307, allocations: 6.665 MB / 474.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001169/0.6319, allocations: 0.7025 MB / 475 MB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005488/0.6374, allocations: 0.9295 MB / 476 MB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0489/0.6864, allocations: 15.69 MB / 491.7 MB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006118/0.687, allocations: 11.84 kB / 491.7 MB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005044/0.6921, allocations: 403.9 kB / 492.1 MB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009646/0.6931, allocations: 0.5509 MB / 492.6 MB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03616/0.7293, allocations: 14.7 MB / 0.4954 GB, free: 9.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5535/1.283, allocations: 51.7 MB / 0.5459 GB, free: 92.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01934/1.302, allocations: 26.46 MB / 0.5718 GB, free: 69.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005462/1.308, allocations: 3.259 MB / 0.5749 GB, free: 68.69 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003311/1.308, allocations: 170 kB / 0.5751 GB, free: 68.58 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.118e-05/1.308, allocations: 77.3 kB / 0.5752 GB, free: 68.51 MB / 430.1 MB Notification: Performance of pre-optimization done (n=404): time 5.942e-06/1.308, allocations: 0 / 0.5752 GB, free: 68.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=410): time 0.04038/1.349, allocations: 19.25 MB / 0.594 GB, free: 57.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/1.349, allocations: 95.91 kB / 0.5941 GB, free: 57.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005106/1.354, allocations: 3.653 MB / 0.5976 GB, free: 55.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003662/1.354, allocations: 87.33 kB / 0.5977 GB, free: 55.33 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002039/1.356, allocations: 3.981 MB / 0.6016 GB, free: 51.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00105/1.357, allocations: 1.396 MB / 0.603 GB, free: 50.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002742/1.358, allocations: 119 kB / 0.6031 GB, free: 50.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002482/1.358, allocations: 0.5403 MB / 0.6036 GB, free: 50.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003584/1.361, allocations: 2.813 MB / 0.6064 GB, free: 48.15 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004313/1.366, allocations: 4.985 MB / 0.6112 GB, free: 42.17 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004875/1.371, allocations: 3.964 MB / 0.6151 GB, free: 38.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-05/1.371, allocations: 20 kB / 0.6151 GB, free: 38.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01341/1.384, allocations: 9.115 MB / 0.624 GB, free: 29.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.613e-05/1.384, allocations: 36 kB / 0.624 GB, free: 29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001105/1.384, allocations: 72 kB / 0.6241 GB, free: 28.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002686/1.387, allocations: 1.205 MB / 0.6253 GB, free: 27.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004079/1.391, allocations: 1.326 MB / 0.6266 GB, free: 26.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01138/1.402, allocations: 9.102 MB / 0.6355 GB, free: 17.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004349/1.407, allocations: 335.4 kB / 0.6358 GB, free: 16.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007298/1.408, allocations: 292 kB / 0.6361 GB, free: 16.55 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (697): * Single equations (assignments): 692 * 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.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005849/1.413, allocations: 3.705 MB / 0.6397 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008813/1.414, allocations: 403.1 kB / 0.6401 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01022/1.425, allocations: 6.75 MB / 0.6467 GB, free: 5.656 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00756/1.432, allocations: 5.631 MB / 0.6522 GB, free: 16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.925e-05/1.432, allocations: 16 kB / 0.6522 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.23e-05/1.432, allocations: 19.92 kB / 0.6522 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02843/1.461, allocations: 16.16 MB / 0.668 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-05/1.461, allocations: 8 kB / 0.668 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003435/1.464, allocations: 0.7256 MB / 0.6687 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00347/1.468, allocations: 1.078 MB / 0.6698 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009247/1.469, allocations: 91.97 kB / 0.6698 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01256/1.481, allocations: 8.057 MB / 0.6777 GB, free: 5.547 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.114e-05/1.481, allocations: 11.94 kB / 0.6777 GB, free: 5.535 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01718/1.498, allocations: 9.918 MB / 0.6874 GB, free: 11.51 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003006/1.502, allocations: 0.9722 MB / 0.6884 GB, free: 10.51 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001076/1.503, allocations: 80.06 kB / 0.6884 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002458/1.505, allocations: 207.8 kB / 0.6886 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006525/1.506, allocations: 287.3 kB / 0.6889 GB, free: 9.949 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002686/1.506, allocations: 128 kB / 0.689 GB, free: 9.824 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004832/1.511, allocations: 2.459 MB / 0.6914 GB, free: 7.379 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.01e-07/1.511, allocations: 0 / 0.6914 GB, free: 7.379 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008451/1.519, allocations: 1.614 MB / 0.693 GB, free: 5.77 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.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 (392): * Single equations (assignments): 387 * 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%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3338/1.853, allocations: 10.66 MB / 0.7034 GB, free: 149.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01455/1.868, allocations: 7.165 MB / 0.7104 GB, free: 147.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/1.868, allocations: 1.406 kB / 0.7104 GB, free: 147.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007007/1.875, allocations: 3.417 MB / 0.7137 GB, free: 146.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005058/1.88, allocations: 0.9324 MB / 0.7147 GB, free: 145.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1074/1.987, allocations: 46.62 MB / 0.7602 GB, free: 116.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01262/2, allocations: 6.198 MB / 0.7662 GB, free: 111.2 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006907/2.007, allocations: 1.912 MB / 0.7681 GB, free: 109.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005998/2.013, allocations: 3.303 MB / 0.7713 GB, free: 106 MB / 478.1 MB Notification: Performance of SimCode: time 1.753e-06/2.013, allocations: 0 / 0.7713 GB, free: 106 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.482/2.495, allocations: 123.4 MB / 0.8918 GB, free: 131.5 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003249/2.495, allocations: 272.2 kB / 0.8921 GB, free: 131.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.647/7.142, allocations: 4.719 kB / 0.8921 GB, free: 131.1 MB / 478.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat does not exist to compare? outputFormat=mat