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/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.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/ModelicaServices trunk/package.mo): time 0.001001/0.001001, allocations: 101.5 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.001618/0.001618, allocations: 205.1 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.398/1.398, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002585/0.0002586, allocations: 4 kB / 306.7 MB, free: 1.227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1075, allocations: 51.5 MB / 358.2 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.2695/0.3771, allocations: 36.74 MB / 395 MB, free: 148 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03911/0.4163, allocations: 11.68 MB / 406.7 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01587/0.4322, allocations: 310.1 kB / 407 MB, free: 7.496 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01309/0.4453, allocations: 2.491 MB / 409.4 MB, free: 5.875 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02338/0.4687, allocations: 4.205 MB / 413.7 MB, free: 2.457 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01019/0.4789, allocations: 2.105 MB / 415.8 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.03241/0.5114, allocations: 16.7 MB / 432.5 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07259/0.584, allocations: 31.68 MB / 464.1 MB, free: 2.184 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01625/0.6003, allocations: 7.25 MB / 471.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01931/0.6196, allocations: 8.019 MB / 479.4 MB, free: 2.859 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006604/0.6263, allocations: 1.207 MB / 480.6 MB, free: 1.652 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01061/0.6369, allocations: 1.554 MB / 482.2 MB, free: 100 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008035/0.645, allocations: 3.742 MB / 485.9 MB, free: 12.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01193/0.657, allocations: 3.977 MB / 489.9 MB, free: 8.352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04355/0.7006, allocations: 34.87 MB / 0.5125 GB, free: 5.387 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.7006, allocations: 0 / 0.5125 GB, free: 5.387 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.129e-06/0.7006, allocations: 0 / 0.5125 GB, free: 5.387 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.001406/0.702, allocations: 3.938 kB / 0.5125 GB, free: 5.383 MB / 430.1 MB 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.0684/0.7704, allocations: 20.04 MB / 0.532 GB, free: 1.207 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.7705, allocations: 12.03 kB / 0.532 GB, free: 1.195 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.4792/1.25, allocations: 2.937 MB / 0.5349 GB, free: 112.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06836/1.318, allocations: 11.2 MB / 0.5458 GB, free: 111.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03608/1.354, allocations: 12.88 MB / 0.5584 GB, free: 103.9 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001873/1.356, allocations: 1.363 MB / 0.5597 GB, free: 103.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00922/1.365, allocations: 1.788 MB / 0.5615 GB, free: 102.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08179/1.447, allocations: 29.33 MB / 0.5901 GB, free: 76.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009376/1.448, allocations: 23.75 kB / 0.5902 GB, free: 76.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008201/1.456, allocations: 0.7397 MB / 0.5909 GB, free: 75.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001114/1.458, allocations: 0.9932 MB / 0.5918 GB, free: 74.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06504/1.523, allocations: 27.19 MB / 0.6184 GB, free: 47.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1844/1.707, allocations: 95.18 MB / 0.7113 GB, free: 14.44 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4159/2.123, allocations: 52.54 MB / 0.7627 GB, free: 121 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03254/2.156, allocations: 16.79 MB / 0.7791 GB, free: 113.4 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.532e-05/2.156, allocations: 111.4 kB / 0.7792 GB, free: 113.3 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=697): time 6.883e-06/2.156, allocations: 0 / 0.7792 GB, free: 113.3 MB / 0.4983 GB Notification: Performance of matching and sorting (n=705): time 0.07555/2.231, allocations: 39.11 MB / 0.8174 GB, free: 95.84 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.55e-05/2.231, allocations: 151.1 kB / 0.8175 GB, free: 95.68 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009529/2.241, allocations: 7.028 MB / 0.8244 GB, free: 88.67 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 0.001335/2.242, allocations: 137.7 kB / 0.8245 GB, free: 88.53 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.003337/2.246, allocations: 7.784 MB / 0.8321 GB, free: 80.7 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.002311/2.248, allocations: 2.388 MB / 0.8344 GB, free: 78.33 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008349/2.249, allocations: 196 kB / 0.8346 GB, free: 78.14 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0004968/2.249, allocations: 0.6994 MB / 0.8353 GB, free: 77.43 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006955/2.256, allocations: 4.934 MB / 0.8401 GB, free: 72.48 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008377/2.265, allocations: 8.357 MB / 0.8483 GB, free: 62.55 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008696/2.273, allocations: 6.649 MB / 0.8548 GB, free: 55.87 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-05/2.274, allocations: 32 kB / 0.8548 GB, free: 55.84 MB / 0.4983 GB Notification: Performance of matching and sorting (n=1251) (initialization): time 0.0293/2.303, allocations: 16.22 MB / 0.8706 GB, free: 39.45 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 8.638e-05/2.303, allocations: 55.98 kB / 0.8707 GB, free: 39.4 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001688/2.303, allocations: 112 kB / 0.8708 GB, free: 39.29 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006026/2.309, allocations: 2.545 MB / 0.8733 GB, free: 36.71 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00859/2.318, allocations: 2.121 MB / 0.8754 GB, free: 34.59 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02886/2.347, allocations: 29.32 MB / 0.904 GB, free: 4.211 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009133/2.356, allocations: 0.5346 MB / 0.9045 GB, free: 3.676 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002494/2.358, allocations: 464 kB / 0.905 GB, free: 3.223 MB / 0.4983 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 507 * 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,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1102): * Single equations (assignments): 1089 * 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.7%) 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.01681/2.375, allocations: 6.768 MB / 0.9116 GB, free: 12.44 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002452/2.378, allocations: 0.7756 MB / 0.9123 GB, free: 11.65 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2942/2.672, allocations: 13.31 MB / 0.9253 GB, free: 156.1 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01593/2.688, allocations: 8.353 MB / 0.9335 GB, free: 155.2 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001096/2.688, allocations: 26.59 kB / 0.9335 GB, free: 155.2 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001741/2.688, allocations: 36.36 kB / 0.9335 GB, free: 155.2 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0512/2.74, allocations: 28.37 MB / 0.9612 GB, free: 143.6 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.709e-05/2.74, allocations: 6.203 kB / 0.9613 GB, free: 143.6 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004803/2.744, allocations: 1.14 MB / 0.9624 GB, free: 143.5 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005888/2.75, allocations: 2.616 MB / 0.9649 GB, free: 142.8 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009938/2.751, allocations: 152.5 kB / 0.9651 GB, free: 142.7 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0294/2.781, allocations: 33.83 MB / 0.9981 GB, free: 119.2 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/2.781, allocations: 12.02 kB / 0.9981 GB, free: 119.2 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02763/2.808, allocations: 19.73 MB / 1.017 GB, free: 102.9 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00494/2.813, allocations: 1.785 MB / 1.019 GB, free: 101.5 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002132/2.816, allocations: 124 kB / 1.019 GB, free: 101.4 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004905/2.82, allocations: 421.9 kB / 1.02 GB, free: 101 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001566/2.822, allocations: 0.5259 MB / 1.02 GB, free: 100.4 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006072/2.823, allocations: 200 kB / 1.02 GB, free: 100.2 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.007228/2.83, allocations: 4.708 MB / 1.025 GB, free: 95.57 MB / 0.5139 GB Notification: Performance of sort global known variables: time 3.71e-07/2.83, allocations: 4 kB / 1.025 GB, free: 95.57 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.01278/2.843, allocations: 3.072 MB / 1.028 GB, free: 92.5 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 11 (ims.inertiaRotor.w,ims.stator.zeroInductor.i0,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.rotor.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,quadraticLoadTorque.phi,imsQS.inertiaRotor.w,imsQS.rotor.stray.port_p.reference.gamma,quadraticLoadTorqueQS.phi) * Number of discrete variables: 12 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (577): * Single equations (assignments): 562 * 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%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1,(18,41.0%) 100} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02771/2.87, allocations: 21.13 MB / 1.049 GB, free: 71.51 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.01861/2.889, allocations: 13.54 MB / 1.062 GB, free: 57.83 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/2.889, allocations: 4 kB / 1.062 GB, free: 57.82 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.00998/2.899, allocations: 7.689 MB / 1.069 GB, free: 50 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008759/2.908, allocations: 1.96 MB / 1.071 GB, free: 48.08 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4049/3.313, allocations: 176.9 MB / 1.244 GB, free: 46.38 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01709/3.33, allocations: 11.66 MB / 1.255 GB, free: 42.5 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.009837/3.34, allocations: 3.324 MB / 1.259 GB, free: 41.14 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009468/3.349, allocations: 6.828 MB / 1.265 GB, free: 34.82 MB / 0.5139 GB Notification: Performance of SimCode: time 1.934e-06/3.349, allocations: 0 / 1.265 GB, free: 34.82 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9693/4.319, allocations: 238.1 MB / 1.498 GB, free: 9.75 MB / 0.5295 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003522/4.319, allocations: 255.4 kB / 1.498 GB, free: 9.41 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.531/11.85, allocations: 0 / 1.498 GB, free: 9.41 MB / 0.5295 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