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.001684/0.001684, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008136/0.0008138, allocations: 82.55 kB / 292.1 MB, free: 6.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.624e-05/3.628e-05, allocations: 4 kB / 350.7 MB, free: 2.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1105, allocations: 51.49 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3454/0.4559, allocations: 111.9 MB / 0.502 GB, free: 10.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.4562, allocations: 95.73 kB / 0.5021 GB, free: 10.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.453/0.9092, allocations: 84.04 MB / 0.5841 GB, free: 75 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.9093, allocations: 0 / 0.5841 GB, free: 75 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002542/0.9096, allocations: 78.56 kB / 0.5842 GB, free: 74.99 MB / 442.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.009758/0.9193, allocations: 3.237 MB / 0.5874 GB, free: 73.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.9194, allocations: 14.92 kB / 0.5874 GB, free: 73.86 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001319/0.9207, allocations: 461.1 kB / 0.5878 GB, free: 73.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004213/0.9249, allocations: 0.7485 MB / 0.5886 GB, free: 73.61 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007506/0.9325, allocations: 3.344 MB / 0.5918 GB, free: 73.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001594/0.9327, allocations: 244.8 kB / 0.5921 GB, free: 73.09 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005661/0.9332, allocations: 323.8 kB / 0.5924 GB, free: 73.08 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006858/0.9401, allocations: 4.126 MB / 0.5964 GB, free: 72.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-05/0.9402, allocations: 4.906 kB / 0.5964 GB, free: 72.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002907/0.9405, allocations: 133 kB / 0.5965 GB, free: 72.68 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/0.9406, allocations: 149.3 kB / 0.5967 GB, free: 72.68 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005161/0.9458, allocations: 3.313 MB / 0.5999 GB, free: 72.64 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02223/0.968, allocations: 14.02 MB / 0.6136 GB, free: 69.57 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005722/0.9738, allocations: 6.589 MB / 0.62 GB, free: 64.64 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002206/0.976, allocations: 1.356 MB / 0.6213 GB, free: 64.61 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005905/0.982, allocations: 3.887 MB / 0.6251 GB, free: 62.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.982, allocations: 50.78 kB / 0.6252 GB, free: 62.54 MB / 442.7 MB Notification: Performance of pre-optimization done (n=132): time 3.296e-06/0.982, allocations: 0 / 0.6252 GB, free: 62.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=135): time 0.006807/0.9889, allocations: 4.142 MB / 0.6292 GB, free: 60.32 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.9889, allocations: 65.78 kB / 0.6293 GB, free: 60.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002469/0.9914, allocations: 1.544 MB / 0.6308 GB, free: 59.64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001216/0.9915, allocations: 51.7 kB / 0.6309 GB, free: 59.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007925/0.9923, allocations: 1.453 MB / 0.6323 GB, free: 58.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003026/0.9926, allocations: 478.1 kB / 0.6327 GB, free: 58.11 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.636e-05/0.9927, allocations: 34.22 kB / 0.6328 GB, free: 58.09 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.9929, allocations: 374.3 kB / 0.6331 GB, free: 57.75 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/0.9939, allocations: 0.6408 MB / 0.6337 GB, free: 57.49 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.9951, allocations: 1.135 MB / 0.6349 GB, free: 56.61 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.9964, allocations: 0.8663 MB / 0.6357 GB, free: 56.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/0.9964, allocations: 5.344 kB / 0.6357 GB, free: 56.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003988/1, allocations: 2.455 MB / 0.6381 GB, free: 55.25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/1, allocations: 11.62 kB / 0.6381 GB, free: 55.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.273e-05/1, allocations: 15.59 kB / 0.6381 GB, free: 55.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008472/1.001, allocations: 356.9 kB / 0.6385 GB, free: 55.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/1.003, allocations: 370.6 kB / 0.6388 GB, free: 55.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005848/1.008, allocations: 7.653 MB / 0.6463 GB, free: 48.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/1.01, allocations: 83.2 kB / 0.6464 GB, free: 48.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001641/1.011, allocations: 73.53 kB / 0.6464 GB, free: 48.54 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (188): * Single equations (assignments): 183 * 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%) 1,(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003312/1.011, allocations: 208.9 kB / 0.6466 GB, free: 48.38 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002804/1.011, allocations: 197.9 kB / 0.6468 GB, free: 48.27 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00378/1.015, allocations: 2.227 MB / 0.649 GB, free: 47.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.457e-06/1.015, allocations: 10.97 kB / 0.649 GB, free: 47.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.876e-05/1.015, allocations: 11.47 kB / 0.649 GB, free: 47.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/1.015, allocations: 7.406 kB / 0.649 GB, free: 47.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008629/1.024, allocations: 4.984 MB / 0.6539 GB, free: 44.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/1.024, allocations: 3.25 kB / 0.6539 GB, free: 44.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007212/1.024, allocations: 175.2 kB / 0.6541 GB, free: 44.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001222/1.026, allocations: 0.5222 MB / 0.6546 GB, free: 44.62 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.196e-05/1.026, allocations: 38.39 kB / 0.6546 GB, free: 44.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008985/1.035, allocations: 12.04 MB / 0.6664 GB, free: 34.39 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/1.035, allocations: 7.891 kB / 0.6664 GB, free: 34.39 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004835/1.04, allocations: 3.216 MB / 0.6695 GB, free: 32.67 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/1.041, allocations: 425.1 kB / 0.6699 GB, free: 32.37 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005691/1.041, allocations: 33.31 kB / 0.67 GB, free: 32.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/1.043, allocations: 73.53 kB / 0.67 GB, free: 32.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002908/1.043, allocations: 99.92 kB / 0.6701 GB, free: 32.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.042e-05/1.043, allocations: 40.16 kB / 0.6702 GB, free: 32.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002193/1.045, allocations: 1.179 MB / 0.6713 GB, free: 31.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.61e-07/1.045, allocations: 3.719 kB / 0.6713 GB, free: 31.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002945/1.048, allocations: 0.6267 MB / 0.6719 GB, free: 31.74 MB / 442.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * 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%) 7,(2,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005108/1.053, allocations: 4.476 MB / 0.6763 GB, free: 29.02 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003145/1.057, allocations: 2.256 MB / 0.6785 GB, free: 27.79 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.057, allocations: 5.969 kB / 0.6785 GB, free: 27.78 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00204/1.059, allocations: 1.674 MB / 0.6801 GB, free: 26.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002614/1.061, allocations: 0.5117 MB / 0.6806 GB, free: 26.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.012/1.073, allocations: 5.561 MB / 0.6861 GB, free: 24.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002397/1.076, allocations: 2.374 MB / 0.6884 GB, free: 23 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00157/1.077, allocations: 395.5 kB / 0.6888 GB, free: 22.95 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001403/1.079, allocations: 1.133 MB / 0.6899 GB, free: 22.01 MB / 442.7 MB Notification: Performance of SimCode: time 1.363e-06/1.079, allocations: 0 / 0.6899 GB, free: 22.01 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09436/1.173, allocations: 53.64 MB / 0.7423 GB, free: 4.602 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002634/1.173, allocations: 224.3 kB / 0.7425 GB, free: 4.371 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.646/4.819, allocations: 7.688 kB / 0.7425 GB, free: 4.367 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