Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001105/0.001105, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009029/0.009029, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.139/2.139, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0005137/0.000514, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3939, allocations: 47.59 MB / 327 MB, free: 1.488 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01282/0.4068, allocations: 8.768 MB / 335.8 MB, free: 10.56 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009152/0.416, allocations: 2.964 MB / 338.8 MB, free: 7.703 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00278/0.4188, allocations: 35.81 kB / 338.8 MB, free: 7.668 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003337/0.4222, allocations: 0.5516 MB / 339.4 MB, free: 7.113 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005355/0.4276, allocations: 0.7072 MB / 340.1 MB, free: 6.402 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001465/0.4291, allocations: 311.7 kB / 340.4 MB, free: 6.098 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.006252/0.4354, allocations: 3.106 MB / 343.5 MB, free: 2.977 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003014/0.4384, allocations: 1.552 MB / 345 MB, free: 1.371 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002235/0.4407, allocations: 0.9139 MB / 345.9 MB, free: 464 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003178/0.4439, allocations: 1.288 MB / 347.2 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005703/0.4445, allocations: 132 kB / 347.4 MB, free: 15.03 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/0.4456, allocations: 247.7 kB / 347.6 MB, free: 14.79 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008977/0.4465, allocations: 0.6774 MB / 348.3 MB, free: 14.11 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002286/0.4488, allocations: 1.206 MB / 349.5 MB, free: 12.89 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006289/0.4551, allocations: 3.823 MB / 353.3 MB, free: 9.055 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.4552, allocations: 0 / 353.3 MB, free: 9.055 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.4552, allocations: 0 / 353.3 MB, free: 9.055 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.000141/0.4553, allocations: 0 / 353.3 MB, free: 9.055 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.0077/0.463, allocations: 2.421 MB / 355.7 MB, free: 6.57 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.477e-05/0.4631, allocations: 12.03 kB / 355.7 MB, free: 6.559 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001741/0.4649, allocations: 289.7 kB / 356 MB, free: 6.273 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004243/0.4692, allocations: 1.43 MB / 357.5 MB, free: 4.785 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000182/0.4694, allocations: 156.4 kB / 357.6 MB, free: 4.629 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004175/0.4698, allocations: 212 kB / 357.8 MB, free: 4.422 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006208/0.476, allocations: 2.736 MB / 360.5 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.945e-05/0.4761, allocations: 12 kB / 360.6 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002202/0.4764, allocations: 84 kB / 360.6 MB, free: 1.504 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001376/0.4765, allocations: 91.92 kB / 360.7 MB, free: 1.414 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004943/0.4815, allocations: 2.346 MB / 363.1 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01805/0.4995, allocations: 8.465 MB / 371.5 MB, free: 6.359 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002533/0.5021, allocations: 1.787 MB / 373.3 MB, free: 4.457 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002083/0.5042, allocations: 1.066 MB / 374.4 MB, free: 3.391 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002653/0.5045, allocations: 122.1 kB / 374.5 MB, free: 3.254 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.051e-05/0.5046, allocations: 43.56 kB / 374.6 MB, free: 3.199 MB / 302.1 MB Notification: Performance of pre-optimization done (n=104): time 3.907e-06/0.5046, allocations: 0 / 374.6 MB, free: 3.199 MB / 302.1 MB Notification: Performance of matching and sorting (n=120): time 0.01526/0.5199, allocations: 6.403 MB / 381 MB, free: 12.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/0.52, allocations: 64.41 kB / 381 MB, free: 12.59 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002819/0.5228, allocations: 1.516 MB / 382.5 MB, free: 11.06 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002102/0.523, allocations: 45.7 kB / 382.6 MB, free: 11.01 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001017/0.5241, allocations: 0.9873 MB / 383.6 MB, free: 10.01 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004541/0.5245, allocations: 418 kB / 384 MB, free: 9.594 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001926/0.5247, allocations: 121.7 kB / 384.1 MB, free: 9.469 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002484/0.525, allocations: 357.9 kB / 384.4 MB, free: 9.113 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/0.5263, allocations: 0.7417 MB / 385.2 MB, free: 8.371 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001549/0.5279, allocations: 1.067 MB / 386.3 MB, free: 7.172 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003105/0.531, allocations: 1.898 MB / 388.2 MB, free: 5.141 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/0.5311, allocations: 4 kB / 388.2 MB, free: 5.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00515/0.5362, allocations: 2.361 MB / 390.5 MB, free: 2.754 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/0.5363, allocations: 12.34 kB / 390.5 MB, free: 2.742 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.434e-05/0.5363, allocations: 12 kB / 390.5 MB, free: 2.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/0.5374, allocations: 407.1 kB / 390.9 MB, free: 2.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.5387, allocations: 331.5 kB / 391.3 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0061/0.5448, allocations: 4.645 MB / 395.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00211/0.547, allocations: 99.95 kB / 396 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001982/0.5472, allocations: 52 kB / 396.1 MB, free: 12.93 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.002236/0.5494, allocations: 0.7042 MB / 396.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007729/0.5502, allocations: 166 kB / 396.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00484/0.5551, allocations: 2.153 MB / 399.1 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.967e-05/0.5551, allocations: 15.98 kB / 399.1 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.605e-05/0.5551, allocations: 0 / 399.1 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.996e-05/0.5552, allocations: 19.91 kB / 399.1 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01044/0.5656, allocations: 4.596 MB / 403.7 MB, free: 5.141 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-05/0.5657, allocations: 4 kB / 403.7 MB, free: 5.137 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.5667, allocations: 223.6 kB / 403.9 MB, free: 4.918 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001463/0.5682, allocations: 471.3 kB / 404.4 MB, free: 4.445 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/0.5683, allocations: 35.97 kB / 404.4 MB, free: 4.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00742/0.5758, allocations: 6.144 MB / 410.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/0.5758, allocations: 4.031 kB / 410.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006137/0.5819, allocations: 3.213 MB / 413.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001487/0.5835, allocations: 399 kB / 414.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002499/0.5838, allocations: 31.98 kB / 414.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009253/0.5847, allocations: 83.91 kB / 414.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003333/0.585, allocations: 100.9 kB / 414.4 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.969e-05/0.5851, allocations: 39.92 kB / 414.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001854/0.587, allocations: 1.048 MB / 415.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.587, allocations: 3.938 kB / 415.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001845/0.5888, allocations: 460.1 kB / 415.9 MB, free: 8.43 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.0005269/0.5894, allocations: 183 kB / 416.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004004/0.5934, allocations: 2.286 MB / 418.4 MB, free: 5.887 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.5934, allocations: 0 / 418.4 MB, free: 5.887 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002501/0.5959, allocations: 1.5 MB / 419.9 MB, free: 4.324 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003015/0.599, allocations: 425 kB / 420.3 MB, free: 3.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009833/0.6088, allocations: 5.559 MB / 425.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001791/0.6106, allocations: 1.815 MB / 427.7 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001583/0.6122, allocations: 401.5 kB / 428.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003547/0.6126, allocations: 111.4 kB / 428.2 MB, free: 11.94 MB / 366.1 MB Notification: Performance of SimCode: time 1.412e-06/0.6126, allocations: 0 / 428.2 MB, free: 11.94 MB / 366.1 MB Notification: Performance of Templates: time 0.05326/0.6659, allocations: 24.13 MB / 452.3 MB, free: 3.77 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1)