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.IMS_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.IMS_Characteristics,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_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.0008893/0.0008893, allocations: 87.88 kB / 16.31 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.0009111/0.0009114, allocations: 178.3 kB / 17.21 MB, free: 6.328 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.428/1.428, allocations: 223.3 MB / 241.2 MB, free: 5.352 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004099/0.0004101, allocations: 6.203 kB / 300.9 MB, free: 6.043 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1245, allocations: 50.42 MB / 351.4 MB, free: 11.55 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02325/0.1478, allocations: 23.47 MB / 374.8 MB, free: 3.996 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01588/0.1638, allocations: 7.399 MB / 382.2 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006872/0.1707, allocations: 179.4 kB / 382.4 MB, free: 12.4 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007169/0.1779, allocations: 1.48 MB / 383.9 MB, free: 10.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009553/0.1874, allocations: 2.745 MB / 386.6 MB, free: 8.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004186/0.1916, allocations: 1.24 MB / 387.9 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0194/0.211, allocations: 14.62 MB / 402.5 MB, free: 8.262 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03697/0.2481, allocations: 19.83 MB / 422.3 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2946/0.5427, allocations: 4.764 MB / 427.1 MB, free: 17.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01529/0.558, allocations: 5.293 MB / 432.4 MB, free: 17.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006306/0.5644, allocations: 0.7223 MB / 433.1 MB, free: 17.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01009/0.5745, allocations: 1.069 MB / 434.2 MB, free: 17.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01005/0.5846, allocations: 2.226 MB / 436.4 MB, free: 17.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008513/0.5932, allocations: 2.311 MB / 438.7 MB, free: 16.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02646/0.6196, allocations: 20.95 MB / 459.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.6197, allocations: 0 / 459.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.6197, allocations: 0 / 459.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.001076/0.6208, allocations: 0 / 459.7 MB, free: 7.656 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.03961/0.6604, allocations: 12.26 MB / 471.9 MB, free: 1.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.6605, allocations: 11.09 kB / 471.9 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008585/0.6691, allocations: 1.787 MB / 473.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04728/0.7164, allocations: 8.596 MB / 482.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02016/0.7366, allocations: 7.378 MB / 489.7 MB, free: 8.824 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001643/0.7383, allocations: 0.8092 MB / 490.5 MB, free: 8.363 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007303/0.7456, allocations: 1.061 MB / 491.6 MB, free: 7.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06094/0.8066, allocations: 18.23 MB / 0.4978 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003804/0.807, allocations: 14.89 kB / 0.4979 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004157/0.8112, allocations: 453.4 kB / 0.4983 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007602/0.8119, allocations: 0.6633 MB / 0.4989 GB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04395/0.8559, allocations: 17.46 MB / 0.516 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1218/0.9777, allocations: 58.86 MB / 0.5735 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3187/1.296, allocations: 37.44 MB / 0.61 GB, free: 108.4 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009841/1.306, allocations: 4.146 MB / 0.6141 GB, free: 108.4 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006588/1.307, allocations: 197.1 kB / 0.6143 GB, free: 108.3 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.92e-05/1.307, allocations: 87.3 kB / 0.6143 GB, free: 108.2 MB / 462.1 MB Notification: Performance of pre-optimization done (n=524): time 9.518e-06/1.307, allocations: 1.469 kB / 0.6143 GB, free: 108.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=530): time 0.05927/1.366, allocations: 23.86 MB / 0.6376 GB, free: 104.3 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.599e-05/1.367, allocations: 107.8 kB / 0.6377 GB, free: 104.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008052/1.375, allocations: 4.141 MB / 0.6418 GB, free: 102.7 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001676/1.376, allocations: 105.3 kB / 0.6419 GB, free: 102.6 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003995/1.38, allocations: 4.506 MB / 0.6463 GB, free: 99.23 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002754/1.383, allocations: 1.795 MB / 0.648 GB, free: 97.84 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005804/1.384, allocations: 147.2 kB / 0.6482 GB, free: 97.73 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0004434/1.384, allocations: 0.5916 MB / 0.6488 GB, free: 97.3 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005527/1.39, allocations: 3.457 MB / 0.6521 GB, free: 96 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005834/1.396, allocations: 5.9 MB / 0.6579 GB, free: 91.55 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00649/1.402, allocations: 4.785 MB / 0.6626 GB, free: 88.32 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.331e-05/1.402, allocations: 24 kB / 0.6626 GB, free: 88.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.01888/1.421, allocations: 10.95 MB / 0.6733 GB, free: 78.01 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001247/1.421, allocations: 40 kB / 0.6733 GB, free: 77.97 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001864/1.421, allocations: 76 kB / 0.6734 GB, free: 77.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003533/1.425, allocations: 1.412 MB / 0.6748 GB, free: 76.49 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006106/1.431, allocations: 1.618 MB / 0.6764 GB, free: 74.87 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01505/1.446, allocations: 10.57 MB / 0.6867 GB, free: 64.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007003/1.453, allocations: 411.3 kB / 0.6871 GB, free: 63.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002145/1.455, allocations: 336 kB / 0.6874 GB, free: 63.44 MB / 462.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.8%) 56} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01374/1.469, allocations: 4.161 MB / 0.6915 GB, free: 59.26 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002968/1.472, allocations: 482.2 kB / 0.6919 GB, free: 58.79 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02105/1.493, allocations: 8.527 MB / 0.7002 GB, free: 50.17 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01214/1.505, allocations: 7.113 MB / 0.7072 GB, free: 42.96 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.084e-05/1.505, allocations: 12 kB / 0.7072 GB, free: 42.95 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.7e-05/1.506, allocations: 23.91 kB / 0.7072 GB, free: 42.93 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04694/1.553, allocations: 19.39 MB / 0.7262 GB, free: 23.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.629e-05/1.553, allocations: 4 kB / 0.7262 GB, free: 23.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003997/1.557, allocations: 0.9364 MB / 0.7271 GB, free: 22.33 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003532/1.56, allocations: 1.254 MB / 0.7283 GB, free: 21.07 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001085/1.561, allocations: 108 kB / 0.7284 GB, free: 20.97 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01335/1.575, allocations: 9.308 MB / 0.7375 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/1.575, allocations: 6.516 kB / 0.7375 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02239/1.597, allocations: 12.33 MB / 0.7495 GB, free: 14.99 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004649/1.602, allocations: 1.17 MB / 0.7507 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002659/1.604, allocations: 98.89 kB / 0.7508 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005101/1.61, allocations: 283.8 kB / 0.7511 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0014/1.611, allocations: 348.4 kB / 0.7514 GB, free: 13.08 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008162/1.612, allocations: 152 kB / 0.7515 GB, free: 12.93 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.008615/1.62, allocations: 2.783 MB / 0.7542 GB, free: 10.14 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.042e-06/1.621, allocations: 0 / 0.7542 GB, free: 10.14 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01204/1.633, allocations: 1.934 MB / 0.7561 GB, free: 8.207 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (imsQS.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,41.3%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3262/1.959, allocations: 13.1 MB / 0.7689 GB, free: 138.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.02295/1.982, allocations: 8.762 MB / 0.7775 GB, free: 138.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/1.982, allocations: 2.969 kB / 0.7775 GB, free: 138.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009529/1.991, allocations: 4.214 MB / 0.7816 GB, free: 137.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008099/2, allocations: 1.086 MB / 0.7827 GB, free: 137.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1321/2.132, allocations: 55.86 MB / 0.8372 GB, free: 100.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01265/2.144, allocations: 7.004 MB / 0.8441 GB, free: 94.93 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.008348/2.153, allocations: 2.315 MB / 0.8463 GB, free: 93.36 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008208/2.161, allocations: 3.863 MB / 0.8501 GB, free: 89.77 MB / 478.1 MB Notification: Performance of SimCode: time 1.513e-06/2.161, allocations: 4 kB / 0.8501 GB, free: 89.77 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4781/2.639, allocations: 144.5 MB / 0.9912 GB, free: 119 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001658/2.639, allocations: 272.4 kB / 0.9914 GB, free: 118.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.395/8.034, allocations: 0 / 0.9914 GB, free: 118.7 MB / 478.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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.IMS_Characteristics_res.mat does not exist to compare? outputFormat=mat