Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001595/0.001599, allocations: 184 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.061/2.061, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001176/0.001176, allocations: 97.53 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003966/0.0003965, allocations: 8 kB / 327.1 MB, free: 116 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3464, allocations: 47.57 MB / 374.6 MB, free: 45.28 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1769/0.5233, allocations: 104.8 MB / 479.4 MB, free: 7.809 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003529/0.5237, allocations: 87.95 kB / 479.5 MB, free: 7.723 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4815/1.005, allocations: 49 MB / 0.5161 GB, free: 94.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.637e-06/1.005, allocations: 0 / 0.5161 GB, free: 94.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002987/1.006, allocations: 60.97 kB / 0.5162 GB, free: 94.53 MB / 378.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.01124/1.017, allocations: 2.753 MB / 0.5189 GB, free: 93.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/1.017, allocations: 11.31 kB / 0.5189 GB, free: 93.09 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001622/1.019, allocations: 343.2 kB / 0.5192 GB, free: 92.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001999/1.021, allocations: 328.6 kB / 0.5195 GB, free: 92.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006258/1.027, allocations: 1.733 MB / 0.5212 GB, free: 91.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002453/1.027, allocations: 171.1 kB / 0.5214 GB, free: 91.67 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001133/1.028, allocations: 232.1 kB / 0.5216 GB, free: 91.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01052/1.039, allocations: 3.157 MB / 0.5247 GB, free: 89.56 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000146/1.039, allocations: 7.562 kB / 0.5247 GB, free: 89.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000616/1.04, allocations: 102.8 kB / 0.5248 GB, free: 89.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001382/1.04, allocations: 97.44 kB / 0.5249 GB, free: 89.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009059/1.049, allocations: 2.632 MB / 0.5275 GB, free: 87.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02683/1.076, allocations: 9.95 MB / 0.5372 GB, free: 77.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004514/1.08, allocations: 2.138 MB / 0.5393 GB, free: 74.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005254/1.081, allocations: 146.1 kB / 0.5394 GB, free: 74.76 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/1.081, allocations: 47.88 kB / 0.5394 GB, free: 74.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=129): time 4.298e-06/1.081, allocations: 4 kB / 0.5394 GB, free: 74.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=145): time 0.03179/1.113, allocations: 8.053 MB / 0.5473 GB, free: 66.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/1.113, allocations: 64.72 kB / 0.5474 GB, free: 66.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003709/1.117, allocations: 1.461 MB / 0.5488 GB, free: 65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004347/1.117, allocations: 53.7 kB / 0.5489 GB, free: 64.94 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008843/1.118, allocations: 1.015 MB / 0.5498 GB, free: 63.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007741/1.119, allocations: 496.5 kB / 0.5503 GB, free: 63.44 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/1.119, allocations: 28 kB / 0.5503 GB, free: 63.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/1.119, allocations: 378.7 kB / 0.5507 GB, free: 63.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002676/1.122, allocations: 0.9174 MB / 0.5516 GB, free: 62.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003046/1.125, allocations: 1.23 MB / 0.5528 GB, free: 60.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003081/1.128, allocations: 1.064 MB / 0.5538 GB, free: 59.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.486e-05/1.128, allocations: 4 kB / 0.5538 GB, free: 59.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.009058/1.137, allocations: 2.921 MB / 0.5567 GB, free: 56.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.813e-05/1.137, allocations: 8 kB / 0.5567 GB, free: 56.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.729e-05/1.138, allocations: 8 kB / 0.5567 GB, free: 56.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003516/1.141, allocations: 0.8415 MB / 0.5575 GB, free: 55.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002492/1.144, allocations: 315.5 kB / 0.5578 GB, free: 55.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01591/1.16, allocations: 9.348 MB / 0.567 GB, free: 45.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002559/1.162, allocations: 99.89 kB / 0.5671 GB, free: 45.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004789/1.163, allocations: 64 kB / 0.5671 GB, free: 45.67 MB / 378.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 () * Number of clocked 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.002522/1.165, allocations: 0.8062 MB / 0.5679 GB, free: 44.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006583/1.166, allocations: 185.7 kB / 0.5681 GB, free: 44.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008797/1.175, allocations: 2.893 MB / 0.5709 GB, free: 41.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.05e-05/1.175, allocations: 16 kB / 0.5709 GB, free: 41.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-05/1.175, allocations: 4 kB / 0.5709 GB, free: 41.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.826e-05/1.175, allocations: 7.969 kB / 0.5709 GB, free: 41.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01691/1.192, allocations: 5.693 MB / 0.5765 GB, free: 35.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.393e-05/1.192, allocations: 4 kB / 0.5765 GB, free: 35.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001909/1.194, allocations: 207.7 kB / 0.5767 GB, free: 35.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004033/1.198, allocations: 0.8936 MB / 0.5776 GB, free: 34.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003879/1.198, allocations: 39.97 kB / 0.5776 GB, free: 34.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01729/1.216, allocations: 10.9 MB / 0.5883 GB, free: 23.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/1.216, allocations: 7.875 kB / 0.5883 GB, free: 23.35 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01177/1.228, allocations: 4.371 MB / 0.5925 GB, free: 18.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001761/1.229, allocations: 466.7 kB / 0.593 GB, free: 18.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006641/1.23, allocations: 39.94 kB / 0.593 GB, free: 18.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002157/1.232, allocations: 95.91 kB / 0.5931 GB, free: 18.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007522/1.233, allocations: 141 kB / 0.5932 GB, free: 18.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001749/1.233, allocations: 47.98 kB / 0.5933 GB, free: 18.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002668/1.236, allocations: 1.126 MB / 0.5944 GB, free: 16.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.52e-07/1.236, allocations: 0 / 0.5944 GB, free: 16.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003354/1.239, allocations: 0.5898 MB / 0.595 GB, free: 16.36 MB / 378.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 () * Number of clocked 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.01267/1.252, allocations: 5.71 MB / 0.6005 GB, free: 10.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00791/1.26, allocations: 3.042 MB / 0.6035 GB, free: 7.445 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/1.26, allocations: 0 / 0.6035 GB, free: 7.445 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005426/1.266, allocations: 2.067 MB / 0.6055 GB, free: 5.305 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004017/1.27, allocations: 476.3 kB / 0.606 GB, free: 4.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05124/1.321, allocations: 21.85 MB / 0.6273 GB, free: 14.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004007/1.325, allocations: 2.032 MB / 0.6293 GB, free: 12.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002816/1.328, allocations: 0.8976 MB / 0.6302 GB, free: 11.12 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/1.328, allocations: 0 / 0.6302 GB, free: 11.12 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.219/5.547, allocations: 100.9 MB / 0.7287 GB, free: 49.18 MB / 410.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_YD_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_YD.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1)