Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001423/0.001423, allocations: 196.9 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.426/1.426, 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.001049/0.001049, allocations: 88.31 kB / 292.1 MB, free: 5.934 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.337e-05/3.375e-05, allocations: 0 / 350.7 MB, free: 2.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1047, allocations: 51.48 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4471/0.5518, allocations: 163.7 MB / 0.5525 GB, free: 7.18 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.5521, allocations: 104.5 kB / 0.5526 GB, free: 7.125 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.679/3.231, allocations: 0.5993 GB / 1.152 GB, free: 42.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.834e-06/3.232, allocations: 1.25 kB / 1.152 GB, free: 42.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.004071/3.236, allocations: 431.2 kB / 1.152 GB, free: 42.25 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5030 * Number of variables: 5030 Notification: Performance of Generate backend data structure: time 0.1029/3.339, allocations: 16.98 MB / 1.169 GB, free: 37.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.373e-05/3.339, allocations: 6.938 kB / 1.169 GB, free: 37.2 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01786/3.357, allocations: 2.921 MB / 1.172 GB, free: 36.99 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04585/3.402, allocations: 7.867 MB / 1.179 GB, free: 35.97 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04853/3.451, allocations: 14.86 MB / 1.194 GB, free: 34.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00199/3.453, allocations: 1.31 MB / 1.195 GB, free: 34.19 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01057/3.464, allocations: 1.722 MB / 1.197 GB, free: 34.18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09623/3.56, allocations: 28.85 MB / 1.225 GB, free: 29 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001193/3.561, allocations: 25.88 kB / 1.225 GB, free: 28.99 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009014/3.57, allocations: 0.7494 MB / 1.226 GB, free: 28.42 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001845/3.572, allocations: 1.263 MB / 1.227 GB, free: 28.14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0657/3.638, allocations: 24.91 MB / 1.251 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.701/4.339, allocations: 95.01 MB / 1.344 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05449/4.393, allocations: 52.18 MB / 1.395 GB, free: 31.55 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01221/4.406, allocations: 7.068 MB / 1.402 GB, free: 31.46 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04254/4.448, allocations: 16.72 MB / 1.418 GB, free: 30.04 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000148/4.448, allocations: 107.5 kB / 1.418 GB, free: 30 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=687): time 1.567e-05/4.448, allocations: 0 / 1.418 GB, free: 30 MB / 0.5573 GB Notification: Performance of matching and sorting (n=695): time 0.0593/4.508, allocations: 25.76 MB / 1.444 GB, free: 22.75 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/4.508, allocations: 146.5 kB / 1.444 GB, free: 22.64 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01459/4.523, allocations: 6.142 MB / 1.45 GB, free: 20.35 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.002066/4.525, allocations: 140.2 kB / 1.45 GB, free: 20.23 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.005976/4.531, allocations: 7.752 MB / 1.457 GB, free: 14.43 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003624/4.534, allocations: 2.347 MB / 1.46 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0017/4.536, allocations: 188.5 kB / 1.46 GB, free: 12.47 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.001016/4.537, allocations: 0.6952 MB / 1.461 GB, free: 11.99 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008891/4.546, allocations: 4.709 MB / 1.465 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01458/4.561, allocations: 7.96 MB / 1.473 GB, free: 4.121 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01275/4.573, allocations: 6.419 MB / 1.479 GB, free: 1.559 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001534/4.574, allocations: 29.16 kB / 1.479 GB, free: 1.559 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1213) (initialization): time 0.03796/4.612, allocations: 15.62 MB / 1.495 GB, free: 9.699 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001432/4.612, allocations: 55.98 kB / 1.495 GB, free: 9.648 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002388/4.612, allocations: 104 kB / 1.495 GB, free: 9.547 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007254/4.619, allocations: 2.447 MB / 1.497 GB, free: 7.629 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009909/4.629, allocations: 2.04 MB / 1.499 GB, free: 5.914 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4907/5.12, allocations: 28.1 MB / 1.527 GB, free: 105.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01261/5.133, allocations: 0.5328 MB / 1.527 GB, free: 105.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003294/5.136, allocations: 444.1 kB / 1.527 GB, free: 105.3 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 479 * Number of states: 0 () * Number of discrete variables: 12 (rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1064): * Single equations (assignments): 1051 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(1,100.0%) 1,(18,41.0%) 100,(1,100.0%) 5,(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.004672/5.141, allocations: 0.6933 MB / 1.528 GB, free: 105.2 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002821/5.144, allocations: 0.7625 MB / 1.529 GB, free: 105.2 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03252/5.176, allocations: 12.94 MB / 1.542 GB, free: 104.3 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0215/5.198, allocations: 8.139 MB / 1.549 GB, free: 104 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001645/5.198, allocations: 26.62 kB / 1.549 GB, free: 104 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002629/5.198, allocations: 36.86 kB / 1.55 GB, free: 104 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08222/5.28, allocations: 27.99 MB / 1.577 GB, free: 102.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.921e-05/5.28, allocations: 6.656 kB / 1.577 GB, free: 102.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005793/5.286, allocations: 1.103 MB / 1.578 GB, free: 102.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00664/5.293, allocations: 2.523 MB / 1.58 GB, free: 102.3 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001452/5.294, allocations: 146.8 kB / 1.581 GB, free: 102.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03348/5.328, allocations: 32.57 MB / 1.612 GB, free: 80.86 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/5.328, allocations: 3.469 kB / 1.612 GB, free: 80.86 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03245/5.36, allocations: 19.1 MB / 1.631 GB, free: 72.52 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006428/5.367, allocations: 1.774 MB / 1.633 GB, free: 71.55 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003875/5.371, allocations: 135.2 kB / 1.633 GB, free: 71.46 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006998/5.378, allocations: 416.7 kB / 1.633 GB, free: 71.37 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002651/5.381, allocations: 0.5374 MB / 1.634 GB, free: 71.28 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001484/5.382, allocations: 195.5 kB / 1.634 GB, free: 71.23 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01043/5.393, allocations: 4.621 MB / 1.638 GB, free: 69.52 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.01e-07/5.393, allocations: 0 / 1.638 GB, free: 69.52 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01743/5.41, allocations: 3.105 MB / 1.642 GB, free: 69.21 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 11 (ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.stator.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,ims.rotor.zeroInductor.i0,loadInertia.w,quadraticLoadTorque.phi,imsQS.rotor.resistor.plug_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi) * Number of discrete variables: 12 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (567): * Single equations (assignments): 552 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1,(18,38.0%) 100} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0346/5.445, allocations: 20.98 MB / 1.662 GB, free: 55.65 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02201/5.467, allocations: 13.04 MB / 1.675 GB, free: 44.02 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.288e-05/5.467, allocations: 0 / 1.675 GB, free: 44.02 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01261/5.479, allocations: 7.425 MB / 1.682 GB, free: 37.27 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01227/5.492, allocations: 1.982 MB / 1.684 GB, free: 35.76 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5346/6.026, allocations: 32.81 MB / 1.716 GB, free: 98.97 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02121/6.048, allocations: 11.67 MB / 1.727 GB, free: 97.85 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01259/6.06, allocations: 3.268 MB / 1.731 GB, free: 97.77 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01421/6.074, allocations: 6.666 MB / 1.737 GB, free: 97.77 MB / 0.573 GB Notification: Performance of SimCode: time 1.984e-06/6.075, allocations: 6.031 kB / 1.737 GB, free: 97.77 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8347/6.909, allocations: 246.2 MB / 1.978 GB, free: 86.38 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/6.909, allocations: 230.4 kB / 1.978 GB, free: 86.15 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/17.21, allocations: 0 / 1.978 GB, free: 86.15 MB / 0.573 GB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_res.mat does not exist to compare? outputFormat=mat