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.001197/0.001198, allocations: 84.38 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.001689/0.00169, 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 1.99/1.99, allocations: 205.4 MB / 222.1 MB, free: 5.629 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.0005391/0.0005394, allocations: 16 kB / 278.9 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4252/0.4258, allocations: 47.59 MB / 326.5 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01089/0.4367, allocations: 8.254 MB / 334.7 MB, free: 10.94 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007203/0.444, allocations: 2.847 MB / 337.6 MB, free: 8.355 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001205/0.4452, allocations: 35.81 kB / 337.6 MB, free: 8.32 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001457/0.4467, allocations: 0.5126 MB / 338.1 MB, free: 7.805 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0022/0.4489, allocations: 0.6565 MB / 338.8 MB, free: 7.145 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007912/0.4497, allocations: 227.7 kB / 339 MB, free: 6.922 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003345/0.4531, allocations: 2.778 MB / 341.8 MB, free: 4.129 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001729/0.4548, allocations: 1.343 MB / 343.1 MB, free: 2.754 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001623/0.4564, allocations: 0.8987 MB / 344 MB, free: 1.852 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001925/0.4584, allocations: 1.245 MB / 345.3 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002513/0.4586, allocations: 136 kB / 345.4 MB, free: 480 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005993/0.4592, allocations: 203.9 kB / 345.6 MB, free: 276 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008567/0.4601, allocations: 0.6853 MB / 346.3 MB, free: 15.58 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006633/0.4608, allocations: 0.4887 MB / 346.8 MB, free: 15.09 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003587/0.4644, allocations: 3.265 MB / 350.1 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.4644, allocations: 3.984 kB / 350.1 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4644, allocations: 0 / 350.1 MB, free: 11.81 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.256e-05/0.4645, allocations: 0 / 350.1 MB, free: 11.81 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.00508/0.4696, allocations: 2.448 MB / 352.5 MB, free: 9.297 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.4696, allocations: 8.031 kB / 352.5 MB, free: 9.289 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007147/0.4704, allocations: 288.8 kB / 352.8 MB, free: 9.004 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002454/0.4728, allocations: 1.387 MB / 354.2 MB, free: 7.559 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001655/0.473, allocations: 152 kB / 354.3 MB, free: 7.406 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003352/0.4734, allocations: 203.9 kB / 354.5 MB, free: 7.207 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004989/0.4784, allocations: 2.732 MB / 357.3 MB, free: 4.387 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.525e-05/0.4784, allocations: 4 kB / 357.3 MB, free: 4.383 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000191/0.4786, allocations: 80 kB / 357.3 MB, free: 4.305 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.961e-05/0.4787, allocations: 103.8 kB / 357.4 MB, free: 4.203 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003865/0.4826, allocations: 2.33 MB / 359.8 MB, free: 1.871 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01261/0.4952, allocations: 8.454 MB / 368.2 MB, free: 9.176 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002114/0.4974, allocations: 1.776 MB / 370 MB, free: 7.285 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001736/0.4991, allocations: 1.069 MB / 371.1 MB, free: 6.215 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002608/0.4994, allocations: 130.1 kB / 371.2 MB, free: 6.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/0.4995, allocations: 39.56 kB / 371.2 MB, free: 6.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=104): time 2.856e-06/0.4995, allocations: 0 / 371.2 MB, free: 6.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=120): time 0.01287/0.5123, allocations: 6.396 MB / 377.6 MB, free: 15.49 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.5124, allocations: 64.41 kB / 377.7 MB, free: 15.41 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00244/0.5149, allocations: 1.504 MB / 379.2 MB, free: 13.9 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.352e-05/0.515, allocations: 45.7 kB / 379.3 MB, free: 13.85 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007927/0.5158, allocations: 0.9873 MB / 380.2 MB, free: 12.85 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003827/0.5161, allocations: 417.9 kB / 380.6 MB, free: 12.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.52e-05/0.5162, allocations: 28 kB / 380.7 MB, free: 12.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.5164, allocations: 361.9 kB / 381 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.5176, allocations: 0.7339 MB / 381.8 MB, free: 11.31 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/0.519, allocations: 1.067 MB / 382.8 MB, free: 10.12 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001356/0.5204, allocations: 0.8769 MB / 383.7 MB, free: 9.238 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.5204, allocations: 4 kB / 383.7 MB, free: 9.234 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003828/0.5242, allocations: 2.349 MB / 386.1 MB, free: 6.863 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/0.5243, allocations: 12.34 kB / 386.1 MB, free: 6.852 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.5243, allocations: 12 kB / 386.1 MB, free: 6.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000917/0.5252, allocations: 411 kB / 386.5 MB, free: 6.426 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.5264, allocations: 339.5 kB / 386.8 MB, free: 6.094 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004896/0.5313, allocations: 4.641 MB / 391.5 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.5325, allocations: 91.97 kB / 391.5 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.5326, allocations: 52 kB / 391.6 MB, free: 1.047 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.001555/0.5342, allocations: 0.7159 MB / 392.3 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003169/0.5345, allocations: 158 kB / 392.5 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003801/0.5383, allocations: 2.149 MB / 394.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.5384, allocations: 12 kB / 394.6 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.5384, allocations: 7.984 kB / 394.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.5384, allocations: 7.984 kB / 394.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007986/0.5464, allocations: 4.593 MB / 399.2 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.5464, allocations: 0 / 399.2 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009137/0.5473, allocations: 227.7 kB / 399.5 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001104/0.5484, allocations: 467.2 kB / 399.9 MB, free: 8.574 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.444e-05/0.5485, allocations: 39.97 kB / 400 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005802/0.5544, allocations: 6.144 MB / 406.1 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.5544, allocations: 3.953 kB / 406.1 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005128/0.5595, allocations: 3.19 MB / 409.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008917/0.5604, allocations: 406.9 kB / 409.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002034/0.5606, allocations: 27.95 kB / 409.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007261/0.5614, allocations: 87.91 kB / 409.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002497/0.5616, allocations: 112.8 kB / 409.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.491e-05/0.5617, allocations: 31.98 kB / 409.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001535/0.5633, allocations: 1.032 MB / 411 MB, free: 13.03 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5633, allocations: 0 / 411 MB, free: 13.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001457/0.5647, allocations: 464.1 kB / 411.4 MB, free: 12.57 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.0003027/0.565, allocations: 159 kB / 411.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003633/0.5687, allocations: 2.277 MB / 413.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.5687, allocations: 5.812 kB / 413.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00218/0.5709, allocations: 1.496 MB / 415.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/0.5727, allocations: 421.1 kB / 415.8 MB, free: 8.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007453/0.5802, allocations: 5.302 MB / 421.1 MB, free: 2.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001455/0.5816, allocations: 1.819 MB / 422.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00113/0.5828, 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.0003562/0.5831, allocations: 111.4 kB / 423.4 MB, free: 392 kB / 350.1 MB Notification: Performance of SimCode: time 1.543e-06/0.5832, allocations: 0 / 423.4 MB, free: 392 kB / 350.1 MB Notification: Performance of Templates: time 0.03926/0.6224, allocations: 23.48 MB / 446.9 MB, free: 8.859 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)