Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00163/0.00163, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.234/1.234, allocations: 170.7 MB / 178.7 MB, free: 15.64 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001622/0.001622, allocations: 107.5 kB / 218 MB, free: 8.402 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.516e-05/1.518e-05, allocations: 4 kB / 262.2 MB, free: 26.4 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06327/0.0633, allocations: 38.78 MB / 301 MB, free: 3.617 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2783/0.3416, allocations: 93.46 MB / 394.5 MB, free: 7.16 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.3419, allocations: 83.27 kB / 394.5 MB, free: 7.117 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1155/0.4574, allocations: 43.86 MB / 438.4 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4575, allocations: 0 / 438.4 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001893/0.4577, allocations: 59.88 kB / 438.5 MB, free: 0.9375 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.005689/0.4634, allocations: 2.171 MB / 440.6 MB, free: 14.71 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.4634, allocations: 12.03 kB / 440.6 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.4647, allocations: 288.8 kB / 440.9 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003511/0.4682, allocations: 1.5 MB / 442.4 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.4684, allocations: 64 kB / 442.5 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005766/0.469, allocations: 131.9 kB / 442.6 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003804/0.4728, allocations: 1.999 MB / 444.6 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003926/0.4767, allocations: 2.336 MB / 446.9 MB, free: 8.215 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.419e-05/0.4768, allocations: 3.984 kB / 446.9 MB, free: 8.211 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001575/0.477, allocations: 4 kB / 447 MB, free: 8.207 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.257e-05/0.4771, allocations: 83.89 kB / 447 MB, free: 8.125 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01301/0.4901, allocations: 7.995 MB / 455 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/0.4921, allocations: 1.726 MB / 456.8 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00118/0.4933, allocations: 0.8599 MB / 457.6 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002899/0.4936, allocations: 138.3 kB / 457.8 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.4936, allocations: 43.88 kB / 457.8 MB, free: 13 MB / 346.7 MB Notification: Performance of pre-optimization done (n=107): time 3.296e-06/0.4937, allocations: 0 / 457.8 MB, free: 13 MB / 346.7 MB Notification: Performance of matching and sorting (n=123): time 0.007668/0.5013, allocations: 4.37 MB / 462.2 MB, free: 8.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.5014, allocations: 64.72 kB / 462.2 MB, free: 8.496 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/0.5029, allocations: 1.069 MB / 463.3 MB, free: 7.422 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.788e-05/0.503, allocations: 25.7 kB / 463.3 MB, free: 7.391 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006461/0.5037, allocations: 0.9825 MB / 464.3 MB, free: 6.395 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003461/0.504, allocations: 401.9 kB / 464.7 MB, free: 5.996 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.644e-05/0.5041, allocations: 0 / 464.7 MB, free: 5.996 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.5043, allocations: 365.9 kB / 465.1 MB, free: 5.633 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000897/0.5052, allocations: 0.6755 MB / 465.7 MB, free: 4.957 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.5062, allocations: 0.9682 MB / 466.7 MB, free: 3.867 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.5074, allocations: 0.8182 MB / 467.5 MB, free: 3.047 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.5074, allocations: 0 / 467.5 MB, free: 3.047 MB / 346.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003499/0.5109, allocations: 2.127 MB / 469.6 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.511, allocations: 8 kB / 469.6 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.511, allocations: 12 kB / 469.7 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009296/0.5119, allocations: 403.4 kB / 470.1 MB, free: 484 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.5132, allocations: 347.4 kB / 470.4 MB, free: 136 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1698/0.683, allocations: 4.404 MB / 474.8 MB, free: 84.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.6845, allocations: 66.88 kB / 474.9 MB, free: 84.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.6846, allocations: 53.62 kB / 474.9 MB, free: 84.86 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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: 2 * 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: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002629/0.6849, allocations: 142.8 kB / 475.1 MB, free: 84.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002695/0.6852, allocations: 151.3 kB / 475.2 MB, free: 84.75 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003626/0.6888, allocations: 1.993 MB / 477.2 MB, free: 84.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.6888, allocations: 16.64 kB / 477.2 MB, free: 84.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.6889, allocations: 3.812 kB / 477.2 MB, free: 84.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.6889, allocations: 5.953 kB / 477.2 MB, free: 84.64 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007372/0.6962, allocations: 4.135 MB / 481.4 MB, free: 84.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.6963, allocations: 2.656 kB / 481.4 MB, free: 84.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.6973, allocations: 236.7 kB / 481.6 MB, free: 84.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001161/0.6985, allocations: 460.1 kB / 482 MB, free: 84.15 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.271e-05/0.6986, allocations: 17.78 kB / 482.1 MB, free: 84.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004573/0.7032, allocations: 5.901 MB / 488 MB, free: 80.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/0.7032, allocations: 8.828 kB / 488 MB, free: 80.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003601/0.7068, allocations: 3.151 MB / 491.1 MB, free: 80.08 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007394/0.7076, allocations: 390.2 kB / 491.5 MB, free: 79.92 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001994/0.7078, allocations: 8.484 kB / 491.5 MB, free: 79.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007755/0.7085, allocations: 67.33 kB / 491.6 MB, free: 79.92 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002208/0.7088, allocations: 107.9 kB / 491.7 MB, free: 79.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-05/0.7089, allocations: 34.89 kB / 491.7 MB, free: 79.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001063/0.7099, allocations: 0.8115 MB / 492.5 MB, free: 79.8 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7099, allocations: 0 / 492.5 MB, free: 79.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001496/0.7114, allocations: 428.6 kB / 492.9 MB, free: 79.8 MB / 346.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: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000491/0.7119, allocations: 276.8 kB / 493.2 MB, free: 79.71 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002507/0.7145, allocations: 2.126 MB / 495.3 MB, free: 79.28 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.7145, allocations: 0 / 495.3 MB, free: 79.28 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001647/0.7161, allocations: 1.42 MB / 496.8 MB, free: 78.85 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001693/0.7178, allocations: 315.3 kB / 497.1 MB, free: 78.84 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005147/0.723, allocations: 3.596 MB / 0.4889 GB, free: 77.96 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.7241, allocations: 1.861 MB / 0.4907 GB, free: 77.21 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00109/0.7252, allocations: 376.5 kB / 0.4911 GB, free: 77.18 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/0.7255, allocations: 104.7 kB / 0.4912 GB, free: 77.18 MB / 346.7 MB Notification: Performance of SimCode: time 1.152e-06/0.7255, allocations: 0 / 0.4912 GB, free: 77.18 MB / 346.7 MB Notification: Performance of Templates: time 0.02973/0.7553, allocations: 20.23 MB / 0.511 GB, free: 75.93 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1)