Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009346/0.0009345, allocations: 101.9 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001122/0.001122, allocations: 204.8 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003512, allocations: 8 kB / 306.7 MB, free: 1.25 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1326, allocations: 51.49 MB / 358.2 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.2161/0.3488, allocations: 26.76 MB / 385 MB, free: 7.562 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0245/0.3734, allocations: 8.871 MB / 393.9 MB, free: 1.078 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008215/0.3816, allocations: 208 kB / 394.1 MB, free: 1.031 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007609/0.3893, allocations: 1.822 MB / 395.9 MB, free: 68 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01543/0.4048, allocations: 3.191 MB / 399.1 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006241/0.411, allocations: 1.46 MB / 400.5 MB, free: 13.1 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.023/0.434, allocations: 11.58 MB / 412.1 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03506/0.4691, allocations: 17.42 MB / 429.5 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009223/0.4784, allocations: 4.459 MB / 434 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009775/0.4882, allocations: 4.899 MB / 438.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003165/0.4914, allocations: 0.7227 MB / 439.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005863/0.4973, allocations: 1.035 MB / 440.7 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003176/0.5005, allocations: 2.266 MB / 442.9 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005122/0.5056, allocations: 2.391 MB / 445.3 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02271/0.5283, allocations: 21.03 MB / 466.4 MB, free: 160 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.5284, allocations: 0 / 466.4 MB, free: 160 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.5284, allocations: 0 / 466.4 MB, free: 160 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006563/0.5291, allocations: 0 / 466.4 MB, free: 160 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2952 * Number of variables: 2952 Notification: Performance of Generate backend data structure: time 0.03681/0.5659, allocations: 12.33 MB / 478.7 MB, free: 3.719 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.5659, allocations: 8.031 kB / 478.7 MB, free: 3.711 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006968/0.5729, allocations: 1.514 MB / 480.2 MB, free: 2.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03839/0.6113, allocations: 6.744 MB / 486.9 MB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01834/0.6297, allocations: 7.79 MB / 494.7 MB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008892/0.6306, allocations: 0.7907 MB / 495.5 MB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004462/0.6351, allocations: 1.043 MB / 496.6 MB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04854/0.6836, allocations: 17.06 MB / 0.5016 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005005/0.6842, allocations: 15.89 kB / 0.5016 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003441/0.6876, allocations: 440 kB / 0.502 GB, free: 132 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007356/0.6884, allocations: 0.6275 MB / 0.5026 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03792/0.7263, allocations: 16.24 MB / 0.5185 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5923/1.319, allocations: 57.06 MB / 0.5742 GB, free: 96.63 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02533/1.344, allocations: 31.34 MB / 0.6048 GB, free: 66.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02284/1.367, allocations: 10.44 MB / 0.615 GB, free: 59.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.096e-05/1.367, allocations: 84.75 kB / 0.6151 GB, free: 59.26 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 8.245e-06/1.367, allocations: 0 / 0.6151 GB, free: 59.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=435): time 0.05002/1.417, allocations: 21.96 MB / 0.6365 GB, free: 38.65 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/1.417, allocations: 124.8 kB / 0.6367 GB, free: 38.51 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007731/1.425, allocations: 4.592 MB / 0.6411 GB, free: 33.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008441/1.426, allocations: 101.6 kB / 0.6412 GB, free: 33.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002698/1.429, allocations: 4.652 MB / 0.6458 GB, free: 29.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00186/1.43, allocations: 1.481 MB / 0.6472 GB, free: 27.65 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008486/1.431, allocations: 120 kB / 0.6473 GB, free: 27.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004362/1.432, allocations: 0.5462 MB / 0.6479 GB, free: 26.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004369/1.436, allocations: 2.94 MB / 0.6508 GB, free: 24.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005188/1.441, allocations: 4.935 MB / 0.6556 GB, free: 18.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00556/1.447, allocations: 3.981 MB / 0.6595 GB, free: 14.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.762e-05/1.447, allocations: 20 kB / 0.6595 GB, free: 14.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01665/1.464, allocations: 9.786 MB / 0.669 GB, free: 4.332 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.074e-05/1.464, allocations: 32 kB / 0.6691 GB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001059/1.464, allocations: 64.41 kB / 0.6691 GB, free: 4.238 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004066/1.468, allocations: 1.666 MB / 0.6708 GB, free: 2.559 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005083/1.473, allocations: 1.338 MB / 0.6721 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02358/1.497, allocations: 16.84 MB / 0.6885 GB, free: 15.85 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007124/1.504, allocations: 335.7 kB / 0.6888 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001482/1.505, allocations: 280 kB / 0.6891 GB, free: 15.25 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 292 * 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 (679): * Single equations (assignments): 675 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(8,56.2%) 27,(1,100.0%) 1,(14,38.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01086/1.516, allocations: 3.9 MB / 0.6929 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001604/1.518, allocations: 0.4901 MB / 0.6934 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01516/1.533, allocations: 7.932 MB / 0.7011 GB, free: 2.805 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.96e-05/1.533, allocations: 44 kB / 0.7012 GB, free: 2.762 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.634e-05/1.533, allocations: 16 kB / 0.7012 GB, free: 2.746 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.381e-05/1.533, allocations: 27.92 kB / 0.7012 GB, free: 2.719 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03403/1.567, allocations: 17.64 MB / 0.7184 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.862e-05/1.567, allocations: 16.06 kB / 0.7185 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003438/1.571, allocations: 0.7489 MB / 0.7192 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2887/1.859, allocations: 1.547 MB / 0.7207 GB, free: 159.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00111/1.861, allocations: 103.3 kB / 0.7208 GB, free: 159.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02563/1.886, allocations: 19.87 MB / 0.7402 GB, free: 148.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-05/1.886, allocations: 13.94 kB / 0.7402 GB, free: 148.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0204/1.907, allocations: 12.39 MB / 0.7523 GB, free: 142.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003761/1.911, allocations: 1.179 MB / 0.7535 GB, free: 141.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001411/1.912, allocations: 85.94 kB / 0.7535 GB, free: 141.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003237/1.915, allocations: 242.1 kB / 0.7538 GB, free: 141.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009365/1.916, allocations: 334.3 kB / 0.7541 GB, free: 141.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003099/1.917, allocations: 133.1 kB / 0.7542 GB, free: 141.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005228/1.922, allocations: 3.097 MB / 0.7573 GB, free: 140.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.31e-07/1.922, allocations: 0 / 0.7573 GB, free: 140.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008705/1.93, allocations: 1.879 MB / 0.7591 GB, free: 140.1 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.stray.Phi.re,imc.stator.stray.Phi.im,loadInertia.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 (376): * Single equations (assignments): 369 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(14,41.3%) 44,(2,100.0%) 12,(1,100.0%) 12,(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01851/1.949, allocations: 14.48 MB / 0.7732 GB, free: 132.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0133/1.962, allocations: 8.23 MB / 0.7813 GB, free: 125.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.109e-05/1.962, allocations: 3.906 kB / 0.7813 GB, free: 125.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007629/1.97, allocations: 4.709 MB / 0.7859 GB, free: 121.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006475/1.977, allocations: 1.194 MB / 0.787 GB, free: 120.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1331/2.11, allocations: 101.1 MB / 0.8857 GB, free: 15.96 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007972/2.118, allocations: 6.951 MB / 0.8925 GB, free: 8.965 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006223/2.124, allocations: 1.873 MB / 0.8944 GB, free: 7.086 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007568/2.132, allocations: 3.92 MB / 0.8982 GB, free: 3.164 MB / 494.1 MB Notification: Performance of SimCode: time 3.256e-06/2.132, allocations: 0 / 0.8982 GB, free: 3.164 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8528/2.984, allocations: 146.5 MB / 1.041 GB, free: 36.36 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001517/2.985, allocations: 263.6 kB / 1.042 GB, free: 36 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.698/8.682, allocations: 0 / 1.042 GB, free: 36 MB / 494.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat does not exist to compare? outputFormat=mat