Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001273/0.001273, allocations: 202.2 kB / 17.08 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.198/1.198, allocations: 227.2 MB / 245 MB, free: 7.559 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000963/0.0009627, allocations: 110.6 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001915/0.0001916, allocations: 4 kB / 358 MB, free: 9.422 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1947, allocations: 51.48 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3053/0.5, allocations: 112 MB / 0.5092 GB, free: 44.99 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.5003, allocations: 99.52 kB / 0.5093 GB, free: 44.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1736/0.674, allocations: 84.07 MB / 0.5914 GB, free: 9.082 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.674, allocations: 3.938 kB / 0.5914 GB, free: 9.078 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002563/0.6743, allocations: 83.88 kB / 0.5915 GB, free: 8.996 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.009453/0.6837, allocations: 3.552 MB / 0.595 GB, free: 5.375 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.6838, allocations: 12.03 kB / 0.595 GB, free: 5.363 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001184/0.685, allocations: 467.9 kB / 0.5954 GB, free: 4.895 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003658/0.6886, allocations: 0.7567 MB / 0.5962 GB, free: 4.133 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007139/0.6958, allocations: 3.367 MB / 0.5995 GB, free: 0.707 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001585/0.696, allocations: 242.4 kB / 0.5997 GB, free: 480 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006684/0.6967, allocations: 331.9 kB / 0.6 GB, free: 148 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007494/0.7042, allocations: 4.193 MB / 0.6041 GB, free: 11.83 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.372e-05/0.7043, allocations: 7.906 kB / 0.6041 GB, free: 11.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003228/0.7046, allocations: 136 kB / 0.6043 GB, free: 11.69 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001319/0.7047, allocations: 146.4 kB / 0.6044 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005907/0.7107, allocations: 3.399 MB / 0.6077 GB, free: 8.137 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01938/0.7301, allocations: 14.02 MB / 0.6214 GB, free: 9.719 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005914/0.736, allocations: 6.651 MB / 0.6279 GB, free: 2.215 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005083/0.7411, allocations: 3.491 MB / 0.6313 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.7412, allocations: 55.83 kB / 0.6314 GB, free: 14.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=140): time 2.515e-06/0.7412, allocations: 0 / 0.6314 GB, free: 14.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=143): time 0.01193/0.7531, allocations: 6.023 MB / 0.6372 GB, free: 8.281 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.7532, allocations: 68.66 kB / 0.6373 GB, free: 8.203 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002111/0.7553, allocations: 1.558 MB / 0.6388 GB, free: 6.648 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.065e-05/0.7554, allocations: 53.7 kB / 0.6389 GB, free: 6.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009126/0.7563, allocations: 1.439 MB / 0.6403 GB, free: 5.133 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003401/0.7567, allocations: 496.8 kB / 0.6408 GB, free: 4.641 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.902e-05/0.7568, allocations: 36 kB / 0.6408 GB, free: 4.605 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.7569, allocations: 377.9 kB / 0.6412 GB, free: 4.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.758, allocations: 0.6911 MB / 0.6418 GB, free: 3.539 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/0.7593, allocations: 1.182 MB / 0.643 GB, free: 2.148 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/0.7606, allocations: 0.9121 MB / 0.6439 GB, free: 1.234 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.7606, allocations: 7.938 kB / 0.6439 GB, free: 1.227 MB / 426.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.003785/0.7644, allocations: 2.558 MB / 0.6464 GB, free: 14.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.7644, allocations: 15.94 kB / 0.6464 GB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/0.7644, allocations: 16 kB / 0.6464 GB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008881/0.7653, allocations: 356.4 kB / 0.6467 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/0.7667, allocations: 375.4 kB / 0.6471 GB, free: 13.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00675/0.7735, allocations: 7.783 MB / 0.6547 GB, free: 5.535 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/0.7749, allocations: 84.09 kB / 0.6548 GB, free: 5.453 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/0.775, allocations: 76 kB / 0.6549 GB, free: 5.379 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001784/0.7768, allocations: 1.007 MB / 0.6558 GB, free: 4.363 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003014/0.7771, allocations: 201.5 kB / 0.656 GB, free: 4.164 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003744/0.7809, allocations: 2.34 MB / 0.6583 GB, free: 1.758 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.7809, allocations: 19.97 kB / 0.6583 GB, free: 1.738 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.7809, allocations: 8 kB / 0.6583 GB, free: 1.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.781, allocations: 3.984 kB / 0.6584 GB, free: 1.727 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007709/0.7887, allocations: 5.204 MB / 0.6634 GB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.7887, allocations: 0 / 0.6634 GB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000854/0.7896, allocations: 187.7 kB / 0.6636 GB, free: 12.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001374/0.7909, allocations: 0.5273 MB / 0.6641 GB, free: 11.65 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.679e-05/0.7911, allocations: 39.98 kB / 0.6642 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1939/0.985, allocations: 12.22 MB / 0.6761 GB, free: 98.29 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.985, allocations: 3.469 kB / 0.6761 GB, free: 98.29 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004908/0.9899, allocations: 3.404 MB / 0.6794 GB, free: 97.72 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009911/0.991, allocations: 438.9 kB / 0.6798 GB, free: 97.63 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002336/0.9912, allocations: 32.45 kB / 0.6799 GB, free: 97.63 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008915/0.9921, allocations: 75.23 kB / 0.6799 GB, free: 97.63 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002763/0.9924, allocations: 105.8 kB / 0.68 GB, free: 97.63 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.107e-05/0.9925, allocations: 40.86 kB / 0.6801 GB, free: 97.63 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001799/0.9943, allocations: 1.205 MB / 0.6813 GB, free: 97.52 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.9943, allocations: 0 / 0.6813 GB, free: 97.52 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002266/0.9966, allocations: 0.6317 MB / 0.6819 GB, free: 97.52 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004979/1.002, allocations: 4.624 MB / 0.6864 GB, free: 96.01 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003246/1.005, allocations: 2.385 MB / 0.6887 GB, free: 95.43 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/1.005, allocations: 3.094 kB / 0.6887 GB, free: 95.43 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002212/1.007, allocations: 1.778 MB / 0.6905 GB, free: 94.72 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002436/1.01, allocations: 0.5178 MB / 0.691 GB, free: 94.71 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02779/1.037, allocations: 26.78 MB / 0.7171 GB, free: 78.38 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001715/1.039, allocations: 2.377 MB / 0.7194 GB, free: 77.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001473/1.041, allocations: 408 kB / 0.7198 GB, free: 77.54 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001173/1.042, allocations: 1.132 MB / 0.7209 GB, free: 77.54 MB / 458.7 MB Notification: Performance of SimCode: time 7.91e-07/1.042, allocations: 0 / 0.7209 GB, free: 77.54 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07953/1.121, allocations: 53.49 MB / 0.7732 GB, free: 61.2 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/1.122, allocations: 249.8 kB / 0.7734 GB, free: 60.91 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.482/4.604, allocations: 0 / 0.7734 GB, free: 60.91 MB / 458.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat does not exist to compare? outputFormat=mat