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.001042/0.001042, allocations: 101 kB / 16.94 MB, free: 5.98 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.001151/0.001151, allocations: 178.1 kB / 17.82 MB, free: 5.652 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.371/1.371, 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.0005061/0.0005062, allocations: 8 kB / 280.9 MB, free: 3.625 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1007, allocations: 47.57 MB / 328.4 MB, free: 3.988 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02085/0.1216, allocations: 19.92 MB / 348.4 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0176/0.1392, allocations: 6.961 MB / 355.3 MB, free: 9.016 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005175/0.1445, allocations: 147.5 kB / 355.5 MB, free: 8.871 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005941/0.1504, allocations: 1.493 MB / 357 MB, free: 7.371 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009308/0.1598, allocations: 2.516 MB / 359.5 MB, free: 4.848 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004694/0.1645, allocations: 1.181 MB / 360.7 MB, free: 3.668 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01713/0.1816, allocations: 9.971 MB / 370.6 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2361/0.4178, allocations: 17.8 MB / 388.4 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007799/0.4256, allocations: 3.901 MB / 392.3 MB, free: 12.85 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008197/0.4339, allocations: 4.235 MB / 396.6 MB, free: 12.85 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002752/0.4367, allocations: 0.6473 MB / 397.2 MB, free: 12.85 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005073/0.4418, allocations: 0.9325 MB / 398.1 MB, free: 12.85 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003438/0.4452, allocations: 1.891 MB / 400 MB, free: 12.85 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003933/0.4492, allocations: 2.071 MB / 402.1 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01721/0.4664, allocations: 18.94 MB / 421.1 MB, free: 2.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.4665, allocations: 0 / 421.1 MB, free: 2.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.327e-06/0.4665, allocations: 4 kB / 421.1 MB, free: 2.496 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000664/0.4672, allocations: 0 / 421.1 MB, free: 2.496 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.03331/0.5005, allocations: 10.85 MB / 431.9 MB, free: 9.438 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.5005, allocations: 8.031 kB / 431.9 MB, free: 9.43 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007983/0.5085, allocations: 1.586 MB / 433.5 MB, free: 8.469 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04148/0.5501, allocations: 7.088 MB / 440.6 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01547/0.5656, allocations: 6.095 MB / 446.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007192/0.5663, allocations: 0.7183 MB / 447.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004094/0.5704, allocations: 0.9318 MB / 448.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04268/0.6131, allocations: 16.07 MB / 464.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003811/0.6136, allocations: 15.89 kB / 464.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003601/0.6172, allocations: 406.3 kB / 464.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006315/0.6178, allocations: 0.5863 MB / 465.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03533/0.6532, allocations: 15.4 MB / 480.8 MB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1144/0.7676, allocations: 52.95 MB / 0.5212 GB, free: 8.648 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2175/0.9852, allocations: 35.47 MB / 0.5559 GB, free: 91.74 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01923/1.004, allocations: 10.25 MB / 0.5659 GB, free: 90.15 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.355e-05/1.005, allocations: 69.66 kB / 0.566 GB, free: 90.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=307): time 5.24e-06/1.005, allocations: 0 / 0.566 GB, free: 90.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=313): time 0.03203/1.037, allocations: 15.59 MB / 0.5812 GB, free: 83.56 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/1.037, allocations: 82.91 kB / 0.5813 GB, free: 83.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00592/1.043, allocations: 3.814 MB / 0.585 GB, free: 82.06 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006093/1.043, allocations: 77.91 kB / 0.5851 GB, free: 81.99 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002177/1.045, allocations: 4.248 MB / 0.5892 GB, free: 78.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001119/1.047, allocations: 1.085 MB / 0.5903 GB, free: 77.97 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002801/1.047, allocations: 111.5 kB / 0.5904 GB, free: 77.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002652/1.047, allocations: 0.5239 MB / 0.5909 GB, free: 77.49 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003394/1.051, allocations: 2.602 MB / 0.5934 GB, free: 76.49 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004219/1.055, allocations: 4.936 MB / 0.5982 GB, free: 72.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004469/1.059, allocations: 3.734 MB / 0.6019 GB, free: 70.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-05/1.059, allocations: 23.47 kB / 0.6019 GB, free: 70.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=706) (initialization): time 0.01301/1.072, allocations: 8.72 MB / 0.6104 GB, free: 67.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.724e-05/1.072, allocations: 37.47 kB / 0.6105 GB, free: 67.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001294/1.073, allocations: 82 kB / 0.6105 GB, free: 67.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002828/1.075, allocations: 1.215 MB / 0.6117 GB, free: 66.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004328/1.08, allocations: 1.246 MB / 0.6129 GB, free: 66.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01157/1.091, allocations: 9.385 MB / 0.6221 GB, free: 56.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004815/1.096, allocations: 331.4 kB / 0.6224 GB, free: 56.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009725/1.097, allocations: 291 kB / 0.6227 GB, free: 56.36 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 (645): * Single equations (assignments): 640 * 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.006584/1.104, allocations: 3.74 MB / 0.6264 GB, free: 52.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009989/1.105, allocations: 383.2 kB / 0.6267 GB, free: 52.23 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008843/1.114, allocations: 5.935 MB / 0.6325 GB, free: 46.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006324/1.12, allocations: 4.87 MB / 0.6373 GB, free: 41.33 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.622e-05/1.12, allocations: 11.98 kB / 0.6373 GB, free: 41.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-05/1.12, allocations: 17.14 kB / 0.6373 GB, free: 41.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02244/1.142, allocations: 13.89 MB / 0.6509 GB, free: 27.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/1.143, allocations: 4 kB / 0.6509 GB, free: 27.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002186/1.145, allocations: 0.5656 MB / 0.6514 GB, free: 26.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002551/1.147, allocations: 1.086 MB / 0.6525 GB, free: 25.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002091/1.148, allocations: 71.97 kB / 0.6525 GB, free: 25.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009887/1.157, allocations: 8.308 MB / 0.6607 GB, free: 17.18 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/1.157, allocations: 7.938 kB / 0.6607 GB, free: 17.17 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01139/1.169, allocations: 9.012 MB / 0.6695 GB, free: 7.973 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002407/1.171, allocations: 0.8943 MB / 0.6703 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006821/1.172, allocations: 60 kB / 0.6704 GB, free: 6.996 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001837/1.174, allocations: 191.9 kB / 0.6706 GB, free: 6.809 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004775/1.174, allocations: 230.6 kB / 0.6708 GB, free: 6.582 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001867/1.175, allocations: 95.98 kB / 0.6709 GB, free: 6.488 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003465/1.178, allocations: 2.549 MB / 0.6734 GB, free: 3.953 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.81e-07/1.178, allocations: 0 / 0.6734 GB, free: 3.953 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005423/1.183, allocations: 1.553 MB / 0.6749 GB, free: 2.406 MB / 430.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 (289): * Single equations (assignments): 284 * 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%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01343/1.197, allocations: 10.45 MB / 0.6851 GB, free: 7.785 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01159/1.209, allocations: 6.628 MB / 0.6916 GB, free: 1.137 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/1.209, allocations: 0.8125 kB / 0.6916 GB, free: 1.137 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1923/1.401, allocations: 3.044 MB / 0.6946 GB, free: 144.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005213/1.406, allocations: 0.8468 MB / 0.6954 GB, free: 144.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1192/1.525, allocations: 99.49 MB / 0.7925 GB, free: 65.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007552/1.533, allocations: 6.383 MB / 0.7988 GB, free: 60.19 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005575/1.539, allocations: 1.883 MB / 0.8006 GB, free: 58.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005394/1.544, allocations: 3.305 MB / 0.8038 GB, free: 55 MB / 446.1 MB Notification: Performance of SimCode: time 1.343e-06/1.544, allocations: 3.719 kB / 0.8038 GB, free: 55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3664/1.91, allocations: 117.5 MB / 0.9185 GB, free: 96.18 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/1.911, allocations: 265.6 kB / 0.9188 GB, free: 95.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.063/5.974, allocations: 0 / 0.9188 GB, free: 95.82 MB / 446.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