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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,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=30000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01406/0.01406, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.257/2.257, allocations: 205.4 MB / 222.4 MB, free: 5.801 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005273/0.0005275, allocations: 8 kB / 279.5 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.371, allocations: 47.58 MB / 327 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01279/0.3839, allocations: 8.776 MB / 335.8 MB, free: 10.46 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008211/0.3922, allocations: 2.964 MB / 338.8 MB, free: 7.637 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002721/0.3949, allocations: 31.88 kB / 338.8 MB, free: 7.605 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002725/0.3977, allocations: 0.5555 MB / 339.4 MB, free: 7.047 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00418/0.4019, allocations: 0.7072 MB / 340.1 MB, free: 6.336 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00164/0.4035, allocations: 315.7 kB / 340.4 MB, free: 6.027 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005328/0.4089, allocations: 3.094 MB / 343.5 MB, free: 2.918 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003257/0.4122, allocations: 1.564 MB / 345 MB, free: 1.301 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002531/0.4147, allocations: 0.9139 MB / 345.9 MB, free: 392 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003337/0.4181, allocations: 1.292 MB / 347.2 MB, free: 15.09 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009151/0.4191, allocations: 136 kB / 347.4 MB, free: 14.95 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001516/0.4206, allocations: 235.8 kB / 347.6 MB, free: 14.72 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001396/0.422, allocations: 0.6774 MB / 348.3 MB, free: 14.04 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003032/0.4251, allocations: 1.206 MB / 349.5 MB, free: 12.82 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004848/0.4299, allocations: 3.823 MB / 353.3 MB, free: 8.988 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.43, allocations: 0 / 353.3 MB, free: 8.988 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.43, allocations: 4 kB / 353.3 MB, free: 8.984 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001265/0.4301, allocations: 0 / 353.3 MB, free: 8.984 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.005911/0.436, allocations: 2.421 MB / 355.7 MB, free: 6.5 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.874e-05/0.4361, allocations: 8.031 kB / 355.7 MB, free: 6.492 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.4374, allocations: 293.7 kB / 356 MB, free: 6.203 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003579/0.441, allocations: 1.434 MB / 357.5 MB, free: 4.711 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001656/0.4412, allocations: 148.4 kB / 357.6 MB, free: 4.562 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004778/0.4417, allocations: 208 kB / 357.8 MB, free: 4.359 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005399/0.4471, allocations: 2.74 MB / 360.5 MB, free: 1.531 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.803e-05/0.4471, allocations: 4 kB / 360.6 MB, free: 1.527 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002076/0.4474, allocations: 87.98 kB / 360.6 MB, free: 1.441 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001216/0.4475, allocations: 99.92 kB / 360.7 MB, free: 1.344 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004831/0.4523, allocations: 2.35 MB / 363.1 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01631/0.4687, allocations: 8.454 MB / 371.5 MB, free: 6.297 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002638/0.4714, allocations: 1.783 MB / 373.3 MB, free: 4.398 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001911/0.4733, allocations: 1.063 MB / 374.4 MB, free: 3.336 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002467/0.4736, allocations: 122.1 kB / 374.5 MB, free: 3.199 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/0.4737, allocations: 47.55 kB / 374.6 MB, free: 3.141 MB / 302.1 MB Notification: Performance of pre-optimization done (n=104): time 2.725e-06/0.4737, allocations: 4 kB / 374.6 MB, free: 3.137 MB / 302.1 MB Notification: Performance of matching and sorting (n=120): time 0.01477/0.4884, allocations: 6.395 MB / 381 MB, free: 12.61 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.4885, allocations: 68.41 kB / 381 MB, free: 12.53 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002606/0.4912, allocations: 1.516 MB / 382.5 MB, free: 11 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001721/0.4914, allocations: 45.7 kB / 382.6 MB, free: 10.95 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008835/0.4922, allocations: 0.9873 MB / 383.6 MB, free: 9.949 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004159/0.4927, allocations: 418 kB / 384 MB, free: 9.535 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001988/0.4929, allocations: 117.7 kB / 384.1 MB, free: 9.414 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.4931, allocations: 357.9 kB / 384.4 MB, free: 9.059 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/0.4944, allocations: 0.7417 MB / 385.2 MB, free: 8.316 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/0.4958, allocations: 1.067 MB / 386.2 MB, free: 7.117 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002687/0.4985, allocations: 1.894 MB / 388.1 MB, free: 5.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/0.4986, allocations: 8 kB / 388.1 MB, free: 5.082 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004481/0.503, allocations: 2.365 MB / 390.5 MB, free: 2.695 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.112e-05/0.5031, allocations: 12 kB / 390.5 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/0.5031, allocations: 8 kB / 390.5 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/0.5042, allocations: 411.3 kB / 390.9 MB, free: 2.262 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/0.5055, allocations: 327.5 kB / 391.3 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005137/0.5106, allocations: 4.664 MB / 395.9 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/0.5124, allocations: 91.89 kB / 396 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/0.5126, allocations: 56 kB / 396.1 MB, free: 12.86 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001899/0.5145, allocations: 0.7043 MB / 396.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005348/0.5151, allocations: 166 kB / 396.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004022/0.5191, allocations: 2.153 MB / 399.1 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/0.5191, allocations: 12 kB / 399.1 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.5192, allocations: 4 kB / 399.1 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/0.5192, allocations: 11.91 kB / 399.1 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008234/0.5274, allocations: 4.6 MB / 403.7 MB, free: 5.074 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/0.5275, allocations: 4 kB / 403.7 MB, free: 5.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009645/0.5284, allocations: 231.9 kB / 403.9 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001257/0.5297, allocations: 462.9 kB / 404.4 MB, free: 4.379 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.803e-05/0.5298, allocations: 31.97 kB / 404.4 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00639/0.5362, allocations: 6.144 MB / 410.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.5363, allocations: 4.031 kB / 410.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005755/0.542, allocations: 3.217 MB / 413.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/0.5434, allocations: 399 kB / 414.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002443/0.5436, allocations: 31.98 kB / 414.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000915/0.5446, allocations: 79.91 kB / 414.3 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003909/0.545, allocations: 104.8 kB / 414.4 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-05/0.5451, allocations: 39.92 kB / 414.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001887/0.547, allocations: 1.048 MB / 415.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.547, allocations: 0 / 415.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00197/0.549, allocations: 460.1 kB / 415.9 MB, free: 8.367 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005116/0.5495, allocations: 179 kB / 416.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004089/0.5536, allocations: 2.289 MB / 418.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.5536, allocations: 0 / 418.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002539/0.5562, allocations: 1.496 MB / 419.9 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003212/0.5594, allocations: 429.2 kB / 420.3 MB, free: 3.848 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009992/0.5694, allocations: 5.552 MB / 425.9 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0019/0.5714, allocations: 1.822 MB / 427.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001657/0.5731, allocations: 393.5 kB / 428.1 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000356/0.5735, allocations: 107.4 kB / 428.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of SimCode: time 1.563e-06/0.5735, allocations: 0 / 428.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of Templates: time 0.05256/0.626, allocations: 24.13 MB / 452.3 MB, free: 3.715 MB / 382.1 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)