Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_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_3_2_3_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.001174/0.001174, allocations: 98.56 kB / 16.95 MB, free: 6.453 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.00159/0.00159, allocations: 182.4 kB / 17.84 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.619/1.619, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004515/0.0004515, allocations: 12 kB / 280.9 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1087, allocations: 47.57 MB / 328.5 MB, free: 3.961 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.0231/0.1319, allocations: 21.64 MB / 350.1 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01645/0.1484, allocations: 6.752 MB / 356.9 MB, free: 7.469 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00538/0.1538, allocations: 151.5 kB / 357 MB, free: 7.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006262/0.1601, allocations: 1.356 MB / 358.4 MB, free: 5.957 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01003/0.1702, allocations: 2.442 MB / 360.8 MB, free: 3.504 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004652/0.1748, allocations: 1.166 MB / 362 MB, free: 2.336 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0196/0.1944, allocations: 13.36 MB / 375.3 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2724/0.4669, allocations: 18.01 MB / 393.4 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01027/0.4772, allocations: 4.263 MB / 397.6 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01105/0.4883, allocations: 4.667 MB / 402.3 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00412/0.4925, allocations: 0.6442 MB / 402.9 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007697/0.5002, allocations: 0.9887 MB / 403.9 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005866/0.5061, allocations: 1.95 MB / 405.9 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006882/0.513, allocations: 2.071 MB / 407.9 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02365/0.5367, allocations: 18.99 MB / 426.9 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.5368, allocations: 0 / 426.9 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.989e-06/0.5368, allocations: 4 kB / 426.9 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0008222/0.5376, allocations: 0 / 426.9 MB, free: 0.5898 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.03943/0.5771, allocations: 10.92 MB / 437.8 MB, free: 6.848 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.941e-05/0.5771, allocations: 11.97 kB / 437.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008685/0.5858, allocations: 1.584 MB / 439.4 MB, free: 5.875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04058/0.6264, allocations: 7.163 MB / 446.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01322/0.6397, allocations: 6.097 MB / 452.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007013/0.6404, allocations: 0.7156 MB / 453.4 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003996/0.6444, allocations: 0.9477 MB / 454.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03952/0.684, allocations: 16.15 MB / 470.5 MB, free: 8.203 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003016/0.6843, allocations: 11.91 kB / 470.5 MB, free: 8.191 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002614/0.687, allocations: 402.4 kB / 470.9 MB, free: 7.809 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006616/0.6876, allocations: 0.5786 MB / 471.5 MB, free: 7.227 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03247/0.7201, allocations: 15.39 MB / 486.9 MB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09274/0.8129, allocations: 52.97 MB / 0.5272 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4009/1.214, allocations: 35.46 MB / 0.5618 GB, free: 91.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006121/1.22, allocations: 3.425 MB / 0.5652 GB, free: 91.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01472/1.235, allocations: 10.16 MB / 0.5751 GB, free: 87.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/1.235, allocations: 69 kB / 0.5752 GB, free: 87.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=303): time 4.939e-06/1.235, allocations: 0.5625 kB / 0.5752 GB, free: 87.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=309): time 0.03719/1.272, allocations: 17.19 MB / 0.5919 GB, free: 81.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/1.272, allocations: 85 kB / 0.592 GB, free: 81.63 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005831/1.278, allocations: 3.825 MB / 0.5958 GB, free: 80.15 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005632/1.279, allocations: 81.45 kB / 0.5958 GB, free: 80.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002613/1.281, allocations: 4.244 MB / 0.6 GB, free: 76.38 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001458/1.283, allocations: 1.08 MB / 0.601 GB, free: 75.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002895/1.283, allocations: 111.5 kB / 0.6011 GB, free: 75.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002967/1.283, allocations: 0.5201 MB / 0.6017 GB, free: 74.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003411/1.287, allocations: 2.575 MB / 0.6042 GB, free: 73.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004094/1.291, allocations: 4.935 MB / 0.609 GB, free: 68.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004114/1.295, allocations: 3.698 MB / 0.6126 GB, free: 64.99 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.018e-05/1.295, allocations: 26.62 kB / 0.6126 GB, free: 64.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.01355/1.309, allocations: 8.673 MB / 0.6211 GB, free: 56.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.32e-05/1.309, allocations: 40 kB / 0.6211 GB, free: 56.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000138/1.309, allocations: 80 kB / 0.6212 GB, free: 56.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002926/1.312, allocations: 1.222 MB / 0.6224 GB, free: 54.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004986/1.317, allocations: 1.228 MB / 0.6236 GB, free: 53.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01241/1.329, allocations: 9.121 MB / 0.6325 GB, free: 44.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005679/1.335, allocations: 339.4 kB / 0.6328 GB, free: 44.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001612/1.337, allocations: 288 kB / 0.6331 GB, free: 43.82 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (641): * Single equations (assignments): 636 * 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.009896/1.346, allocations: 3.736 MB / 0.6368 GB, free: 40.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001393/1.348, allocations: 379.3 kB / 0.6371 GB, free: 39.69 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01081/1.359, allocations: 5.867 MB / 0.6428 GB, free: 33.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007758/1.367, allocations: 4.81 MB / 0.6475 GB, free: 28.92 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.177e-05/1.367, allocations: 8 kB / 0.6476 GB, free: 28.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.937e-05/1.367, allocations: 15.94 kB / 0.6476 GB, free: 28.89 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0266/1.393, allocations: 13.79 MB / 0.661 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-05/1.393, allocations: 8 kB / 0.661 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002162/1.396, allocations: 0.5672 MB / 0.6616 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002591/1.398, allocations: 1.074 MB / 0.6626 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003022/1.398, allocations: 71.97 kB / 0.6627 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01021/1.409, allocations: 8.056 MB / 0.6706 GB, free: 5.125 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/1.409, allocations: 7.953 kB / 0.6706 GB, free: 5.117 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01243/1.421, allocations: 8.587 MB / 0.679 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002574/1.424, allocations: 0.8865 MB / 0.6798 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007239/1.424, allocations: 65.14 kB / 0.6799 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001812/1.426, allocations: 195.8 kB / 0.6801 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000718/1.427, allocations: 222.6 kB / 0.6803 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002361/1.427, allocations: 91.98 kB / 0.6804 GB, free: 10.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004949/1.432, allocations: 2.557 MB / 0.6829 GB, free: 8.387 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/1.432, allocations: 0 / 0.6829 GB, free: 8.387 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006644/1.439, allocations: 1.552 MB / 0.6844 GB, free: 6.84 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (285): * Single equations (assignments): 280 * 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.01407/1.453, allocations: 9.305 MB / 0.6935 GB, free: 13.41 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01103/1.464, allocations: 6.562 MB / 0.6999 GB, free: 6.832 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.866e-06/1.464, allocations: 0 / 0.6999 GB, free: 6.832 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005202/1.469, allocations: 2.976 MB / 0.7028 GB, free: 3.844 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004666/1.474, allocations: 0.9012 MB / 0.7037 GB, free: 2.945 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3129/1.787, allocations: 45.49 MB / 0.7481 GB, free: 134.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01483/1.802, allocations: 6.23 MB / 0.7542 GB, free: 132.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.007465/1.809, allocations: 1.938 MB / 0.7561 GB, free: 130.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007746/1.817, allocations: 3.256 MB / 0.7593 GB, free: 127.4 MB / 462.1 MB Notification: Performance of SimCode: time 2.505e-06/1.817, allocations: 0 / 0.7593 GB, free: 127.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3896/2.207, allocations: 117.5 MB / 0.874 GB, free: 111.6 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002685/2.207, allocations: 268 kB / 0.8743 GB, free: 111.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.289/6.496, allocations: 0 / 0.8743 GB, free: 111.2 MB / 462.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat does not exist to compare? outputFormat=mat