Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_YD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_YD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001379/0.001379, allocations: 171.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008592/0.0008592, allocations: 82.64 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.993e-05/2.996e-05, allocations: 0 / 322.6 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.093/0.09305, allocations: 47.56 MB / 370.1 MB, free: 1.625 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3505/0.4436, allocations: 104.7 MB / 474.8 MB, free: 4.914 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.4439, allocations: 79.89 kB / 474.9 MB, free: 4.875 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1294/0.5733, allocations: 49.1 MB / 0.5117 GB, free: 4.559 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5733, allocations: 3.938 kB / 0.5117 GB, free: 4.555 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002011/0.5735, allocations: 71.86 kB / 0.5118 GB, free: 4.484 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.006566/0.5801, allocations: 2.468 MB / 0.5142 GB, free: 1.957 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.015e-05/0.5802, allocations: 8.031 kB / 0.5142 GB, free: 1.949 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001076/0.5813, allocations: 333 kB / 0.5145 GB, free: 1.613 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/0.5826, allocations: 324.4 kB / 0.5148 GB, free: 1.293 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004362/0.587, allocations: 1.732 MB / 0.5165 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001585/0.5872, allocations: 172.6 kB / 0.5167 GB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005682/0.5877, allocations: 235.8 kB / 0.5169 GB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006081/0.5938, allocations: 3.071 MB / 0.5199 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.628e-05/0.5939, allocations: 7.906 kB / 0.5199 GB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002616/0.5942, allocations: 104 kB / 0.52 GB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001281/0.5943, allocations: 92.44 kB / 0.5201 GB, free: 11.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004792/0.5991, allocations: 2.516 MB / 0.5226 GB, free: 9.141 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2636/0.8628, allocations: 9.926 MB / 0.5322 GB, free: 98.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003129/0.866, allocations: 2.083 MB / 0.5343 GB, free: 97.65 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002026/0.868, allocations: 1.09 MB / 0.5353 GB, free: 97.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003625/0.8684, allocations: 142.1 kB / 0.5355 GB, free: 97.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/0.8685, allocations: 45.62 kB / 0.5355 GB, free: 97.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=129): time 4.588e-06/0.8685, allocations: 0 / 0.5355 GB, free: 97.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.01641/0.8849, allocations: 6.278 MB / 0.5417 GB, free: 96.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.767e-05/0.8851, allocations: 69.22 kB / 0.5417 GB, free: 96.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003295/0.8884, allocations: 1.446 MB / 0.5431 GB, free: 96.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002419/0.8886, allocations: 48.36 kB / 0.5432 GB, free: 96.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008971/0.8895, allocations: 1.076 MB / 0.5442 GB, free: 96.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004928/0.89, allocations: 499.6 kB / 0.5447 GB, free: 96.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-05/0.8901, allocations: 31.72 kB / 0.5447 GB, free: 96.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.8903, allocations: 364.4 kB / 0.5451 GB, free: 95.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001464/0.8917, allocations: 0.8608 MB / 0.5459 GB, free: 95.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001929/0.8937, allocations: 1.173 MB / 0.5471 GB, free: 95.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002165/0.8959, allocations: 1.016 MB / 0.5481 GB, free: 95.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.988e-05/0.8959, allocations: 6.031 kB / 0.5481 GB, free: 95.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005322/0.9012, allocations: 2.918 MB / 0.5509 GB, free: 95.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/0.9013, allocations: 10.19 kB / 0.5509 GB, free: 95.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/0.9013, allocations: 10.34 kB / 0.5509 GB, free: 95.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001763/0.9031, allocations: 0.846 MB / 0.5518 GB, free: 95.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.9043, allocations: 315 kB / 0.5521 GB, free: 95.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008525/0.9128, allocations: 9.06 MB / 0.5609 GB, free: 90.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/0.9146, allocations: 104.7 kB / 0.561 GB, free: 90.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001783/0.9148, allocations: 60.56 kB / 0.5611 GB, free: 90.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(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: 3 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003608/0.9152, allocations: 191.9 kB / 0.5613 GB, free: 90.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004087/0.9156, allocations: 187.2 kB / 0.5614 GB, free: 90.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004536/0.9201, allocations: 2.779 MB / 0.5641 GB, free: 89.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.9202, allocations: 15.41 kB / 0.5642 GB, free: 89.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.9202, allocations: 14.23 kB / 0.5642 GB, free: 89.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.9202, allocations: 7.547 kB / 0.5642 GB, free: 89.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009009/0.9292, allocations: 5.585 MB / 0.5696 GB, free: 86.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.9293, allocations: 6.312 kB / 0.5696 GB, free: 86.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000847/0.9302, allocations: 210.6 kB / 0.5698 GB, free: 86.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002083/0.9323, allocations: 0.8982 MB / 0.5707 GB, free: 86.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001308/0.9324, allocations: 34.98 kB / 0.5708 GB, free: 86.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0101/0.9425, allocations: 10.59 MB / 0.5811 GB, free: 79.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/0.9426, allocations: 3.469 kB / 0.5811 GB, free: 79.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006819/0.9494, allocations: 4.203 MB / 0.5852 GB, free: 77.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001507/0.951, allocations: 474.1 kB / 0.5857 GB, free: 76.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006947/0.9517, allocations: 30.78 kB / 0.5857 GB, free: 76.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001598/0.9533, allocations: 91.75 kB / 0.5858 GB, free: 76.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004667/0.9538, allocations: 152.2 kB / 0.5859 GB, free: 76.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/0.954, allocations: 37.33 kB / 0.5859 GB, free: 76.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002468/0.9564, allocations: 1.113 MB / 0.587 GB, free: 76.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.9564, allocations: 2.844 kB / 0.587 GB, free: 76.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002826/0.9593, allocations: 0.5849 MB / 0.5876 GB, free: 76.37 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 97 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 19,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006599/0.9659, allocations: 5.549 MB / 0.593 GB, free: 73.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004203/0.9701, allocations: 2.908 MB / 0.5959 GB, free: 72.01 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.9701, allocations: 2.719 kB / 0.5959 GB, free: 72.01 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002635/0.9728, allocations: 1.996 MB / 0.5978 GB, free: 70.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002495/0.9753, allocations: 482.3 kB / 0.5983 GB, free: 70.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009218/0.9845, allocations: 4.923 MB / 0.6031 GB, free: 67.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00179/0.9863, allocations: 2.073 MB / 0.6051 GB, free: 65.94 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001341/0.9877, allocations: 408.5 kB / 0.6055 GB, free: 65.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001101/0.9888, allocations: 0.8802 MB / 0.6064 GB, free: 64.85 MB / 410.7 MB Notification: Performance of SimCode: time 1.973e-06/0.9888, allocations: 2.25 kB / 0.6064 GB, free: 64.85 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09592/1.085, allocations: 51.9 MB / 0.657 GB, free: 19.29 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/1.085, allocations: 202.2 kB / 0.6572 GB, free: 19.06 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.351/4.436, allocations: 0 / 0.6572 GB, free: 19.06 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_YD_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_YD.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1)