Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008829/0.000883, allocations: 101.7 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008736/0.0008737, allocations: 192.6 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.4 MB / 246 MB, free: 10.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002375/0.0002376, allocations: 8 kB / 306.8 MB, free: 1.219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09728/0.09754, allocations: 51.5 MB / 358.3 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.2463/0.3439, allocations: 21.48 MB / 379.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01528/0.3592, allocations: 6.743 MB / 386.5 MB, free: 7.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006199/0.3654, allocations: 152.5 kB / 386.7 MB, free: 7.027 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005677/0.3711, allocations: 1.227 MB / 387.9 MB, free: 6.418 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009835/0.381, allocations: 2.015 MB / 389.9 MB, free: 5.191 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004105/0.3851, allocations: 0.944 MB / 390.9 MB, free: 4.645 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01481/0.4, allocations: 9.094 MB / 400 MB, free: 15.9 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01164/0.4116, allocations: 4.985 MB / 405 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007217/0.4189, allocations: 2.87 MB / 407.8 MB, free: 11.38 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008577/0.4275, allocations: 3.747 MB / 411.6 MB, free: 7.613 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002988/0.4306, allocations: 456 kB / 412 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005153/0.4357, allocations: 0.7067 MB / 412.7 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004063/0.4398, allocations: 1.927 MB / 414.7 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004464/0.4443, allocations: 1.58 MB / 416.2 MB, free: 2.938 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01635/0.4607, allocations: 11.81 MB / 428.1 MB, free: 7.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4608, allocations: 0 / 428.1 MB, free: 7.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4608, allocations: 0 / 428.1 MB, free: 7.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0005186/0.4613, allocations: 0 / 428.1 MB, free: 7.09 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1778 * Number of variables: 1778 Notification: Performance of Generate backend data structure: time 0.02154/0.4828, allocations: 7.607 MB / 435.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.4829, allocations: 8.031 kB / 435.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003343/0.4863, allocations: 0.9255 MB / 436.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006876/0.4931, allocations: 1.349 MB / 437.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01083/0.504, allocations: 5.131 MB / 443.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005119/0.5046, allocations: 0.4977 MB / 443.6 MB, free: 7.398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00186/0.5064, allocations: 0.6639 MB / 444.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02521/0.5317, allocations: 9.414 MB / 453.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002592/0.532, allocations: 15.84 kB / 453.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001785/0.5338, allocations: 284 kB / 453.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003244/0.5341, allocations: 301.4 kB / 454.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0198/0.5539, allocations: 8.059 MB / 462.3 MB, free: 4.535 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05867/0.6126, allocations: 29.68 MB / 492 MB, free: 6.129 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01292/0.6256, allocations: 12.28 MB / 0.4924 GB, free: 8.672 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006417/0.6321, allocations: 3.425 MB / 0.4958 GB, free: 5.227 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01368/0.6458, allocations: 7.069 MB / 0.5027 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.603e-05/0.6459, allocations: 64.97 kB / 0.5027 GB, free: 13.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=305): time 5.189e-06/0.6459, allocations: 0 / 0.5027 GB, free: 13.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=324): time 0.04405/0.69, allocations: 15.86 MB / 0.5182 GB, free: 13.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.436e-05/0.6901, allocations: 85.95 kB / 0.5183 GB, free: 13.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009493/0.6996, allocations: 3.99 MB / 0.5222 GB, free: 9.434 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008716/0.7005, allocations: 81.7 kB / 0.5223 GB, free: 9.348 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003469/0.704, allocations: 3.099 MB / 0.5253 GB, free: 6.219 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001867/0.7059, allocations: 1.09 MB / 0.5264 GB, free: 5.113 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003243/0.7062, allocations: 76 kB / 0.5265 GB, free: 5.039 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003667/0.7066, allocations: 466.1 kB / 0.5269 GB, free: 4.578 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00463/0.7112, allocations: 1.854 MB / 0.5287 GB, free: 2.723 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4099/1.121, allocations: 2.829 MB / 0.5315 GB, free: 132.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005362/1.127, allocations: 2.292 MB / 0.5337 GB, free: 132.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.405e-05/1.127, allocations: 11.73 kB / 0.5337 GB, free: 132.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=487) (initialization): time 0.01133/1.138, allocations: 6.389 MB / 0.54 GB, free: 131 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.634e-05/1.138, allocations: 20.22 kB / 0.54 GB, free: 131 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.614e-05/1.138, allocations: 29.19 kB / 0.54 GB, free: 131 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00289/1.141, allocations: 1.266 MB / 0.5412 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003329/1.144, allocations: 0.8143 MB / 0.542 GB, free: 130.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01652/1.161, allocations: 20.74 MB / 0.5623 GB, free: 113.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00389/1.165, allocations: 212.1 kB / 0.5625 GB, free: 113.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006155/1.165, allocations: 154.8 kB / 0.5626 GB, free: 113.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 130 * Number of states: 0 () * Number of discrete variables: 9 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (424): * Single equations (assignments): 410 * 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: 11 * 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: 11 {(1,100.0%) 1,(2,100.0%) 14,(1,100.0%) 8,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004286/1.17, allocations: 2.193 MB / 0.5648 GB, free: 112.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001066/1.171, allocations: 451.8 kB / 0.5652 GB, free: 112.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009348/1.18, allocations: 6.04 MB / 0.5711 GB, free: 109.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/1.18, allocations: 34.39 kB / 0.5711 GB, free: 109.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.723e-05/1.18, allocations: 15.53 kB / 0.5712 GB, free: 109.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.318e-05/1.18, allocations: 18.84 kB / 0.5712 GB, free: 109.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01817/1.198, allocations: 12.33 MB / 0.5832 GB, free: 103.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/1.198, allocations: 3.344 kB / 0.5832 GB, free: 103.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001839/1.2, allocations: 453.2 kB / 0.5837 GB, free: 103.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003271/1.204, allocations: 1.603 MB / 0.5852 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003341/1.204, allocations: 79.97 kB / 0.5853 GB, free: 101.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02039/1.224, allocations: 30.18 MB / 0.6148 GB, free: 69.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.224, allocations: 4 kB / 0.6148 GB, free: 69.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01176/1.236, allocations: 8.64 MB / 0.6232 GB, free: 60.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002651/1.239, allocations: 0.9134 MB / 0.6241 GB, free: 59.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008208/1.24, allocations: 74.28 kB / 0.6242 GB, free: 59.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001733/1.241, allocations: 195.8 kB / 0.6244 GB, free: 59.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006767/1.242, allocations: 274 kB / 0.6246 GB, free: 59.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000183/1.242, allocations: 87.98 kB / 0.6247 GB, free: 58.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003907/1.246, allocations: 2.699 MB / 0.6273 GB, free: 56.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.246, allocations: 0 / 0.6273 GB, free: 56.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005094/1.251, allocations: 1.346 MB / 0.6287 GB, free: 54.89 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 16 (aimsM.inertiaRotor.w,aimsM.stator.zeroInductor.i0,aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.rotor.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsE.inertiaRotor.w,aimsE.i_0_s,aimsE.idq_sr[1],aimsE.idq_sr[2],aimsE.idq_rr[1],aimsE.idq_rr[2],aimsE.i_0_r,quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 9 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 214 * 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: 16 * 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: 16 {(2,100.0%) 14,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(2,100.0%) 12,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01134/1.263, allocations: 9.371 MB / 0.6378 GB, free: 45.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008071/1.271, allocations: 6.311 MB / 0.644 GB, free: 38.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/1.271, allocations: 0 / 0.644 GB, free: 38.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005627/1.277, allocations: 4.788 MB / 0.6486 GB, free: 33.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006964/1.283, allocations: 1.311 MB / 0.6499 GB, free: 32.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08484/1.368, allocations: 43.29 MB / 0.6922 GB, free: 2.578 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005328/1.374, allocations: 4.491 MB / 0.6966 GB, free: 14.04 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004424/1.378, allocations: 1.062 MB / 0.6976 GB, free: 12.98 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003934/1.382, allocations: 2.671 MB / 0.7002 GB, free: 10.3 MB / 478.1 MB Notification: Performance of SimCode: time 1.754e-06/1.382, allocations: 0 / 0.7002 GB, free: 10.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.45/1.832, allocations: 117.9 MB / 0.8153 GB, free: 68.92 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001893/1.832, allocations: 257.3 kB / 0.8156 GB, free: 68.58 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.819/6.651, allocations: 0 / 0.8156 GB, free: 68.58 MB / 478.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_res.mat does not exist to compare? outputFormat=mat