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.001353/0.001353, allocations: 177.7 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009005/0.0009008, allocations: 90.69 kB / 262.4 MB, free: 1.676 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.26e-05/1.262e-05, allocations: 4 kB / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0923/0.09232, allocations: 47.58 MB / 363.2 MB, free: 6.984 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3592/0.4516, allocations: 104.3 MB / 467.5 MB, free: 7.391 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/0.4519, allocations: 86.58 kB / 467.5 MB, free: 7.348 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1254/0.5772, allocations: 48.46 MB / 0.5039 GB, free: 12.37 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5773, allocations: 0 / 0.5039 GB, free: 12.37 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001705/0.5775, allocations: 67.88 kB / 0.504 GB, free: 12.3 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.005232/0.5827, allocations: 2.471 MB / 0.5064 GB, free: 9.773 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.5828, allocations: 15.97 kB / 0.5064 GB, free: 9.758 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009096/0.5837, allocations: 328.4 kB / 0.5067 GB, free: 9.434 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004221/0.5879, allocations: 1.729 MB / 0.5084 GB, free: 7.648 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.5881, allocations: 72 kB / 0.5085 GB, free: 7.578 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004285/0.5885, allocations: 135.9 kB / 0.5086 GB, free: 7.445 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004447/0.593, allocations: 2.395 MB / 0.5109 GB, free: 5.043 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004756/0.5978, allocations: 2.75 MB / 0.5136 GB, free: 2.145 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-05/0.5978, allocations: 7.844 kB / 0.5136 GB, free: 2.137 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001797/0.598, allocations: 4 kB / 0.5136 GB, free: 2.133 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-05/0.5981, allocations: 92.44 kB / 0.5137 GB, free: 2.039 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0148/0.6129, allocations: 9.488 MB / 0.523 GB, free: 8.309 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002552/0.6155, allocations: 2.031 MB / 0.525 GB, free: 6.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001526/0.6171, allocations: 1.051 MB / 0.526 GB, free: 5.105 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003201/0.6174, allocations: 138.4 kB / 0.5261 GB, free: 4.953 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.755e-05/0.6175, allocations: 47.86 kB / 0.5262 GB, free: 4.898 MB / 410.7 MB Notification: Performance of pre-optimization done (n=129): time 4.518e-06/0.6175, allocations: 0 / 0.5262 GB, free: 4.898 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.2395/0.857, allocations: 5.317 MB / 0.5314 GB, free: 102.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.8571, allocations: 67.34 kB / 0.5314 GB, free: 102.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00208/0.8592, allocations: 1.21 MB / 0.5326 GB, free: 102.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002692/0.8594, allocations: 27.41 kB / 0.5326 GB, free: 102.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007456/0.8602, allocations: 1.085 MB / 0.5337 GB, free: 102.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004069/0.8606, allocations: 475.5 kB / 0.5342 GB, free: 102.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.148e-05/0.8607, allocations: 0 / 0.5342 GB, free: 102.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.8608, allocations: 368.4 kB / 0.5345 GB, free: 102 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/0.8619, allocations: 0.8284 MB / 0.5353 GB, free: 102 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/0.8633, allocations: 1.141 MB / 0.5364 GB, free: 101.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/0.8646, allocations: 0.977 MB / 0.5374 GB, free: 101.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.934e-06/0.8646, allocations: 1.938 kB / 0.5374 GB, free: 101.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00467/0.8693, allocations: 2.754 MB / 0.5401 GB, free: 101.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.329e-05/0.8694, allocations: 9.922 kB / 0.5401 GB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.438e-05/0.8694, allocations: 12.62 kB / 0.5401 GB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001985/0.8714, allocations: 0.8016 MB / 0.5409 GB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.8727, allocations: 315.2 kB / 0.5412 GB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009277/0.882, allocations: 8.724 MB / 0.5497 GB, free: 97.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/0.8835, allocations: 72.2 kB / 0.5498 GB, free: 97.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001744/0.8837, allocations: 63.53 kB / 0.5498 GB, free: 97.56 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.0003035/0.884, allocations: 141.1 kB / 0.55 GB, free: 97.45 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003747/0.8878, allocations: 2.483 MB / 0.5524 GB, free: 97.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003465/0.8881, allocations: 168 kB / 0.5525 GB, free: 97.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003678/0.8918, allocations: 2.638 MB / 0.5551 GB, free: 97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.8919, allocations: 14.88 kB / 0.5551 GB, free: 97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.8919, allocations: 7.344 kB / 0.5551 GB, free: 97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/0.8919, allocations: 9.141 kB / 0.5552 GB, free: 97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007618/0.8995, allocations: 5.159 MB / 0.5602 GB, free: 95.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.8996, allocations: 3.375 kB / 0.5602 GB, free: 95.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008398/0.9004, allocations: 208.6 kB / 0.5604 GB, free: 95.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001827/0.9023, allocations: 0.863 MB / 0.5612 GB, free: 95.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.833e-05/0.9024, allocations: 19.52 kB / 0.5613 GB, free: 95.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008499/0.9109, allocations: 10.18 MB / 0.5712 GB, free: 88.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.9109, allocations: 10.34 kB / 0.5712 GB, free: 88.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005237/0.9162, allocations: 4.066 MB / 0.5752 GB, free: 86.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009425/0.9171, allocations: 453.2 kB / 0.5756 GB, free: 86.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002303/0.9174, allocations: 3.812 kB / 0.5756 GB, free: 86.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000872/0.9183, allocations: 73.09 kB / 0.5757 GB, free: 86.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000365/0.9186, allocations: 148.8 kB / 0.5758 GB, free: 86.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-05/0.9187, allocations: 43.33 kB / 0.5759 GB, free: 86.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001339/0.9201, allocations: 0.9167 MB / 0.5768 GB, free: 85.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.142e-06/0.9201, allocations: 0 / 0.5768 GB, free: 85.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002199/0.9223, allocations: 0.5096 MB / 0.5773 GB, free: 85.89 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.005286/0.9276, allocations: 5.382 MB / 0.5825 GB, free: 82.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003573/0.9312, allocations: 2.792 MB / 0.5852 GB, free: 81.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.9312, allocations: 0 / 0.5852 GB, free: 81.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002329/0.9335, allocations: 1.92 MB / 0.5871 GB, free: 80.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002088/0.9357, allocations: 387.6 kB / 0.5875 GB, free: 80.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008579/0.9443, allocations: 4.778 MB / 0.5921 GB, free: 78.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00146/0.9458, allocations: 2.07 MB / 0.5942 GB, free: 77.69 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001278/0.947, allocations: 379.9 kB / 0.5945 GB, free: 77.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/0.9481, allocations: 0.8953 MB / 0.5954 GB, free: 76.92 MB / 410.7 MB Notification: Performance of SimCode: time 1.663e-06/0.9481, allocations: 0 / 0.5954 GB, free: 76.92 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07383/1.022, allocations: 44.38 MB / 0.6387 GB, free: 42.39 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001392/1.022, allocations: 180 kB / 0.6389 GB, free: 42.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.359/4.381, allocations: 0 / 0.6389 GB, free: 42.19 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)