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.001156/0.001156, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001531/0.001531, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.062/2.062, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0005282/0.0005283, allocations: 16 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.443/0.4435, allocations: 47.59 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01364/0.4573, allocations: 8.258 MB / 334.7 MB, free: 10.94 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009532/0.4669, allocations: 2.844 MB / 337.6 MB, free: 8.367 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003566/0.4706, allocations: 35.81 kB / 337.6 MB, free: 8.332 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002926/0.4735, allocations: 0.5049 MB / 338.1 MB, free: 7.824 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004937/0.4785, allocations: 0.6682 MB / 338.8 MB, free: 7.152 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002082/0.4806, allocations: 219.7 kB / 339 MB, free: 6.938 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.006698/0.4873, allocations: 2.786 MB / 341.8 MB, free: 4.137 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004308/0.4917, allocations: 1.335 MB / 343.1 MB, free: 2.77 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003419/0.4952, allocations: 0.9027 MB / 344 MB, free: 1.863 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004374/0.4996, allocations: 1.245 MB / 345.3 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001552/0.5013, allocations: 136 kB / 345.4 MB, free: 492 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00255/0.5038, allocations: 203.9 kB / 345.6 MB, free: 288 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002008/0.5059, allocations: 0.6814 MB / 346.3 MB, free: 15.6 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001871/0.5078, allocations: 0.4926 MB / 346.8 MB, free: 15.1 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006558/0.5144, allocations: 3.265 MB / 350.1 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.319e-05/0.5145, allocations: 0 / 350.1 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.817e-06/0.5145, allocations: 0 / 350.1 MB, free: 11.82 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002537/0.5148, allocations: 0 / 350.1 MB, free: 11.82 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.01009/0.5249, allocations: 2.456 MB / 352.5 MB, free: 9.305 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.526e-05/0.525, allocations: 8.031 kB / 352.5 MB, free: 9.297 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002667/0.5277, allocations: 288.8 kB / 352.8 MB, free: 9.012 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00591/0.5336, allocations: 1.383 MB / 354.2 MB, free: 7.57 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002979/0.534, allocations: 152 kB / 354.3 MB, free: 7.418 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001131/0.5351, allocations: 207.9 kB / 354.5 MB, free: 7.215 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01074/0.5459, allocations: 2.736 MB / 357.3 MB, free: 4.391 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001906/0.5462, allocations: 0 / 357.3 MB, free: 4.391 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008827/0.5471, allocations: 84 kB / 357.4 MB, free: 4.309 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002099/0.5473, allocations: 91.94 kB / 357.4 MB, free: 4.219 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00779/0.5551, allocations: 2.334 MB / 359.8 MB, free: 1.883 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02637/0.5816, allocations: 8.466 MB / 368.2 MB, free: 9.176 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003524/0.5852, allocations: 1.769 MB / 370 MB, free: 7.293 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002437/0.5877, allocations: 1.065 MB / 371.1 MB, free: 6.227 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004266/0.5881, allocations: 126.1 kB / 371.2 MB, free: 6.086 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.13e-05/0.5883, allocations: 47.5 kB / 371.2 MB, free: 6.027 MB / 302.1 MB Notification: Performance of pre-optimization done (n=104): time 6.122e-06/0.5883, allocations: 0 / 371.2 MB, free: 6.027 MB / 302.1 MB Notification: Performance of matching and sorting (n=120): time 0.0198/0.6081, allocations: 6.389 MB / 377.6 MB, free: 15.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/0.6082, allocations: 68.34 kB / 377.7 MB, free: 15.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004565/0.6128, allocations: 1.508 MB / 379.2 MB, free: 13.91 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000422/0.6133, allocations: 49.7 kB / 379.3 MB, free: 13.85 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001278/0.6146, allocations: 0.9834 MB / 380.2 MB, free: 12.86 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009923/0.6156, allocations: 418 kB / 380.6 MB, free: 12.44 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/0.6158, allocations: 24 kB / 380.7 MB, free: 12.42 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000224/0.616, allocations: 365.9 kB / 381 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001711/0.6177, allocations: 0.73 MB / 381.8 MB, free: 11.32 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001866/0.6196, allocations: 1.067 MB / 382.8 MB, free: 10.13 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002066/0.6217, allocations: 0.8808 MB / 383.7 MB, free: 9.246 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.831e-05/0.6218, allocations: 0 / 383.7 MB, free: 9.246 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006533/0.6283, allocations: 2.353 MB / 386.1 MB, free: 6.871 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.365e-05/0.6284, allocations: 8.344 kB / 386.1 MB, free: 6.863 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.99e-05/0.6284, allocations: 16 kB / 386.1 MB, free: 6.848 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/0.6295, allocations: 411 kB / 386.5 MB, free: 6.434 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.6309, allocations: 335.5 kB / 386.8 MB, free: 6.105 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005438/0.6364, allocations: 4.641 MB / 391.5 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/0.6382, allocations: 99.97 kB / 391.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002928/0.6385, allocations: 52 kB / 391.6 MB, free: 1.051 MB / 318.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[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 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.001952/0.6405, allocations: 0.708 MB / 392.3 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006329/0.6411, allocations: 162 kB / 392.5 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004698/0.6458, allocations: 2.145 MB / 394.6 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.949e-05/0.6459, allocations: 12 kB / 394.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.092e-05/0.6459, allocations: 4 kB / 394.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.672e-05/0.646, allocations: 11.97 kB / 394.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01135/0.6573, allocations: 4.6 MB / 399.2 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.519e-05/0.6574, allocations: 4 kB / 399.2 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.6585, allocations: 223.7 kB / 399.5 MB, free: 9.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001319/0.6599, allocations: 471.5 kB / 399.9 MB, free: 8.574 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001426/0.66, allocations: 31.98 kB / 400 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00728/0.6673, allocations: 6.136 MB / 406.1 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.6674, allocations: 7.984 kB / 406.1 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006308/0.6737, allocations: 3.194 MB / 409.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001621/0.6754, allocations: 403 kB / 409.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006798/0.6761, allocations: 31.95 kB / 409.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/0.6776, allocations: 91.84 kB / 409.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004099/0.6781, allocations: 100.8 kB / 409.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/0.6782, allocations: 39.98 kB / 409.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.003087/0.6813, allocations: 1.036 MB / 411 MB, free: 13.03 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6813, allocations: 0 / 411 MB, free: 13.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003251/0.6846, allocations: 464.1 kB / 411.4 MB, free: 12.58 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 (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.0006944/0.6853, allocations: 143 kB / 411.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005258/0.6906, allocations: 2.28 MB / 413.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/0.6906, allocations: 0 / 413.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002934/0.6936, allocations: 1.501 MB / 415.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004032/0.6976, allocations: 425.1 kB / 415.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01307/0.7107, allocations: 5.306 MB / 421.1 MB, free: 2.738 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003267/0.7141, allocations: 1.826 MB / 422.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001669/0.7158, allocations: 393.5 kB / 423.3 MB, free: 500 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003555/0.7162, allocations: 107.4 kB / 423.4 MB, free: 396 kB / 350.1 MB Notification: Performance of SimCode: time 1.482e-06/0.7162, allocations: 0 / 423.4 MB, free: 396 kB / 350.1 MB Notification: Performance of Templates: time 0.04771/0.7639, allocations: 23.49 MB / 446.9 MB, free: 8.863 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)