Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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_DOL,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001226/0.001226, allocations: 197.2 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.454/1.454, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009279/0.000928, allocations: 95.47 kB / 292.1 MB, free: 5.898 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.894e-05/2.903e-05, allocations: 4 kB / 350.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09285/0.0929, allocations: 51.49 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3663/0.4592, allocations: 124.5 MB / 0.5143 GB, free: 13.76 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/0.4596, allocations: 95.98 kB / 0.5143 GB, free: 13.71 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5182/0.9778, allocations: 121.1 MB / 0.6326 GB, free: 77.19 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.9778, allocations: 0 / 0.6326 GB, free: 77.19 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005417/0.9784, allocations: 137.6 kB / 0.6327 GB, free: 77.16 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: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.01669/0.9951, allocations: 4.97 MB / 0.6376 GB, free: 75.25 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.079e-05/0.9952, allocations: 7.719 kB / 0.6376 GB, free: 75.25 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003481/0.9987, allocations: 0.7014 MB / 0.6383 GB, free: 74.89 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006609/1.005, allocations: 1.034 MB / 0.6393 GB, free: 74.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01245/1.018, allocations: 4.63 MB / 0.6438 GB, free: 72.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004383/1.018, allocations: 386.1 kB / 0.6442 GB, free: 72.09 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002023/1.02, allocations: 0.5051 MB / 0.6446 GB, free: 71.93 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01587/1.036, allocations: 6.711 MB / 0.6512 GB, free: 68.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002812/1.037, allocations: 11.84 kB / 0.6512 GB, free: 68.74 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001376/1.038, allocations: 217.1 kB / 0.6514 GB, free: 68.58 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002063/1.038, allocations: 233.1 kB / 0.6516 GB, free: 68.56 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01154/1.05, allocations: 5.428 MB / 0.6569 GB, free: 66.32 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03997/1.09, allocations: 21.51 MB / 0.6779 GB, free: 54.78 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006816/1.097, allocations: 8.662 MB / 0.6864 GB, free: 47.43 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003143/1.1, allocations: 2.215 MB / 0.6886 GB, free: 46.61 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01144/1.111, allocations: 6.417 MB / 0.6948 GB, free: 41.77 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/1.111, allocations: 52.56 kB / 0.6949 GB, free: 41.71 MB / 442.7 MB Notification: Performance of pre-optimization done (n=220): time 5.03e-06/1.111, allocations: 0 / 0.6949 GB, free: 41.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=239): time 0.01749/1.129, allocations: 8.97 MB / 0.7036 GB, free: 32.66 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/1.129, allocations: 77.41 kB / 0.7037 GB, free: 32.57 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004244/1.133, allocations: 2.591 MB / 0.7062 GB, free: 29.97 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004176/1.134, allocations: 69.7 kB / 0.7063 GB, free: 29.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001097/1.135, allocations: 2.307 MB / 0.7086 GB, free: 27.57 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005892/1.135, allocations: 0.8119 MB / 0.7094 GB, free: 26.77 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/1.135, allocations: 60 kB / 0.7094 GB, free: 26.71 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/1.136, allocations: 415.8 kB / 0.7098 GB, free: 26.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/1.137, allocations: 1.302 MB / 0.7111 GB, free: 25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001908/1.139, allocations: 2.047 MB / 0.7131 GB, free: 22.62 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001987/1.141, allocations: 1.642 MB / 0.7147 GB, free: 20.96 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/1.141, allocations: 8 kB / 0.7147 GB, free: 20.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=365) (initialization): time 0.006451/1.148, allocations: 4.512 MB / 0.7191 GB, free: 16.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/1.148, allocations: 16 kB / 0.7191 GB, free: 16.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.229e-05/1.148, allocations: 28 kB / 0.7191 GB, free: 16.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001635/1.149, allocations: 0.7688 MB / 0.7199 GB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002206/1.152, allocations: 0.628 MB / 0.7205 GB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009293/1.161, allocations: 13.36 MB / 0.7336 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003138/1.164, allocations: 155.8 kB / 0.7337 GB, free: 448 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003569/1.164, allocations: 124 kB / 0.7338 GB, free: 324 kB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (322): * Single equations (assignments): 312 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005245/1.165, allocations: 272.6 kB / 0.7341 GB, free: 44 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007116/1.166, allocations: 328.2 kB / 0.7344 GB, free: 15.71 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0078/1.174, allocations: 4.118 MB / 0.7384 GB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.111e-05/1.174, allocations: 24 kB / 0.7384 GB, free: 11.49 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-05/1.174, allocations: 12 kB / 0.7384 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.381e-05/1.174, allocations: 11.95 kB / 0.7385 GB, free: 11.47 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01853/1.192, allocations: 9.014 MB / 0.7473 GB, free: 2.324 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/1.192, allocations: 4 kB / 0.7473 GB, free: 2.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/1.194, allocations: 387.5 kB / 0.7476 GB, free: 1.941 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002407/1.196, allocations: 0.9246 MB / 0.7485 GB, free: 0.9883 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000211/1.197, allocations: 67.97 kB / 0.7486 GB, free: 0.9219 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.298/1.495, allocations: 16.49 MB / 0.7647 GB, free: 75.51 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/1.495, allocations: 10.52 kB / 0.7647 GB, free: 75.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009165/1.504, allocations: 6.28 MB / 0.7708 GB, free: 74.41 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002116/1.506, allocations: 0.7005 MB / 0.7715 GB, free: 74.32 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005587/1.507, allocations: 57.77 kB / 0.7716 GB, free: 74.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001603/1.508, allocations: 145.7 kB / 0.7717 GB, free: 74.32 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004697/1.509, allocations: 197.2 kB / 0.7719 GB, free: 74.31 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001608/1.509, allocations: 72.16 kB / 0.772 GB, free: 74.31 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002944/1.512, allocations: 1.973 MB / 0.7739 GB, free: 74.15 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.11e-07/1.512, allocations: 0 / 0.7739 GB, free: 74.15 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003619/1.515, allocations: 1.031 MB / 0.7749 GB, free: 74.15 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.stator.zeroInductor.i0,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 171 * 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: 8 * 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: 8 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 1,(1,100.0%) 13,(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.009299/1.525, allocations: 8.184 MB / 0.7829 GB, free: 71.62 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006268/1.531, allocations: 4.452 MB / 0.7873 GB, free: 70.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/1.531, allocations: 0.9062 kB / 0.7873 GB, free: 70.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004697/1.536, allocations: 3.001 MB / 0.7902 GB, free: 69.47 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005599/1.541, allocations: 0.8423 MB / 0.791 GB, free: 69.46 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02447/1.566, allocations: 9.656 MB / 0.8004 GB, free: 66.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004852/1.571, allocations: 3.529 MB / 0.8039 GB, free: 64.97 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003452/1.574, allocations: 0.7726 MB / 0.8046 GB, free: 64.89 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002753/1.577, allocations: 1.958 MB / 0.8066 GB, free: 63.27 MB / 458.7 MB Notification: Performance of SimCode: time 1.523e-06/1.577, allocations: 0 / 0.8066 GB, free: 63.27 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1236/1.701, allocations: 88.2 MB / 0.8927 GB, free: 17.11 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001516/1.701, allocations: 207.1 kB / 0.8929 GB, free: 16.89 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.608/6.309, allocations: 4 kB / 0.8929 GB, free: 16.89 MB / 458.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat does not exist to compare? outputFormat=mat