Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001438/0.001438, 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.265/1.265, allocations: 170.6 MB / 178.7 MB, free: 15.59 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.001611/0.001611, allocations: 99.52 kB / 218 MB, free: 8.344 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.733e-05/1.735e-05, allocations: 0 / 262.2 MB, free: 26.4 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06688/0.06692, allocations: 38.78 MB / 301 MB, free: 3.617 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2719/0.3389, allocations: 92.5 MB / 393.5 MB, free: 8.145 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002105/0.3392, allocations: 83.64 kB / 393.6 MB, free: 8.102 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1051/0.4443, allocations: 40.59 MB / 434.2 MB, free: 5.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4444, allocations: 7.938 kB / 434.2 MB, free: 5.262 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001621/0.4445, allocations: 44 kB / 434.2 MB, free: 5.219 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: 464 * Number of variables: 464 Notification: Performance of Generate backend data structure: time 0.005537/0.4501, allocations: 1.989 MB / 436.2 MB, free: 3.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.4501, allocations: 8.031 kB / 436.2 MB, free: 3.172 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.4513, allocations: 261.2 kB / 436.5 MB, free: 2.914 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002771/0.4541, allocations: 1.365 MB / 437.8 MB, free: 1.492 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.561e-05/0.4542, allocations: 56 kB / 437.9 MB, free: 1.438 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003164/0.4545, allocations: 115.9 kB / 438 MB, free: 1.324 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003246/0.4578, allocations: 1.745 MB / 439.8 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00344/0.4613, allocations: 2.061 MB / 441.8 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.111e-05/0.4613, allocations: 7.906 kB / 441.8 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/0.4615, allocations: 0 / 441.8 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.973e-05/0.4616, allocations: 83.48 kB / 441.9 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01262/0.4742, allocations: 7.101 MB / 449 MB, free: 6.043 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00184/0.4761, allocations: 1.247 MB / 450.2 MB, free: 4.719 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/0.4772, allocations: 0.7279 MB / 451 MB, free: 3.984 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002889/0.4775, allocations: 129.8 kB / 451.1 MB, free: 3.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.4775, allocations: 43.34 kB / 451.1 MB, free: 3.789 MB / 330.7 MB Notification: Performance of pre-optimization done (n=87): time 2.535e-06/0.4775, allocations: 0 / 451.1 MB, free: 3.789 MB / 330.7 MB Notification: Performance of matching and sorting (n=103): time 0.007382/0.4849, allocations: 3.942 MB / 455.1 MB, free: 15.78 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.485, allocations: 60.72 kB / 455.1 MB, free: 15.71 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/0.4865, allocations: 0.9656 MB / 456.1 MB, free: 14.73 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.745e-05/0.4866, allocations: 25.7 kB / 456.1 MB, free: 14.7 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006114/0.4873, allocations: 0.9037 MB / 457 MB, free: 13.78 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002744/0.4875, allocations: 342.9 kB / 457.4 MB, free: 13.44 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.055e-05/0.4876, allocations: 0 / 457.4 MB, free: 13.44 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.4878, allocations: 357.9 kB / 457.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007864/0.4886, allocations: 0.5805 MB / 458.3 MB, free: 12.51 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009913/0.4896, allocations: 0.8652 MB / 459.2 MB, free: 11.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.4906, allocations: 0.7284 MB / 459.9 MB, free: 10.8 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.4906, allocations: 4 kB / 459.9 MB, free: 10.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.00391/0.4945, allocations: 2.25 MB / 462.2 MB, free: 8.527 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.4946, allocations: 12 kB / 462.2 MB, free: 8.516 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.4946, allocations: 8 kB / 462.2 MB, free: 8.508 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001987/0.4966, allocations: 0.7701 MB / 462.9 MB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009094/0.4975, allocations: 235.5 kB / 463.2 MB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1691/0.6666, allocations: 8.168 MB / 471.3 MB, free: 88.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.6679, allocations: 62.95 kB / 471.4 MB, free: 88.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.668, allocations: 49.91 kB / 471.4 MB, free: 88.59 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00021/0.6683, allocations: 131 kB / 471.6 MB, free: 88.48 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000219/0.6685, allocations: 133.5 kB / 471.7 MB, free: 88.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003242/0.6717, allocations: 1.779 MB / 473.5 MB, free: 88.39 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.6718, allocations: 9.625 kB / 473.5 MB, free: 88.39 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.6718, allocations: 4.375 kB / 473.5 MB, free: 88.39 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.6718, allocations: 7.266 kB / 473.5 MB, free: 88.39 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005855/0.6776, allocations: 3.616 MB / 477.1 MB, free: 88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/0.6777, allocations: 3.359 kB / 477.1 MB, free: 88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008469/0.6785, allocations: 197.2 kB / 477.3 MB, free: 88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001169/0.6797, allocations: 460.3 kB / 477.8 MB, free: 87.96 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.257e-05/0.6798, allocations: 15.92 kB / 477.8 MB, free: 87.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004674/0.6845, allocations: 5.908 MB / 483.7 MB, free: 84.33 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.6845, allocations: 2.281 kB / 483.7 MB, free: 84.33 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003577/0.6881, allocations: 2.74 MB / 486.4 MB, free: 83.95 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006434/0.6888, allocations: 349.9 kB / 486.8 MB, free: 83.82 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/0.689, allocations: 14.81 kB / 486.8 MB, free: 83.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006908/0.6897, allocations: 60.14 kB / 486.9 MB, free: 83.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/0.6898, allocations: 85.34 kB / 486.9 MB, free: 83.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.511e-05/0.6899, allocations: 28.58 kB / 487 MB, free: 83.81 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009226/0.6908, allocations: 0.738 MB / 487.7 MB, free: 83.7 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6909, allocations: 0 / 487.7 MB, free: 83.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00135/0.6922, allocations: 409.5 kB / 488.1 MB, free: 83.7 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 83 * 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.0004008/0.6926, allocations: 272.6 kB / 488.4 MB, free: 83.61 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002544/0.6952, allocations: 1.911 MB / 490.3 MB, free: 83.35 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.6952, allocations: 2.969 kB / 490.3 MB, free: 83.35 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001495/0.6967, allocations: 1.281 MB / 491.6 MB, free: 82.91 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.6981, allocations: 278.5 kB / 491.8 MB, free: 82.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004552/0.7027, allocations: 3.209 MB / 495 MB, free: 82.1 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/0.7037, allocations: 1.732 MB / 496.8 MB, free: 81.35 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009246/0.7046, allocations: 291.9 kB / 497.1 MB, free: 81.32 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/0.7049, allocations: 87.3 kB / 497.1 MB, free: 81.31 MB / 346.7 MB Notification: Performance of SimCode: time 7.52e-07/0.7049, allocations: 0 / 497.1 MB, free: 81.31 MB / 346.7 MB Notification: Performance of Templates: time 0.02707/0.732, allocations: 19.31 MB / 0.5043 GB, free: 80.13 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1)