Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.002216/0.002216, allocations: 107.1 kB / 17.06 MB, free: 6.125 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.002748/0.002748, allocations: 199 kB / 18 MB, free: 5.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.891/1.891, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.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.001537/0.001537, allocations: 51.92 kB / 327.9 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1621, allocations: 46.62 MB / 374.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.3613/0.5235, allocations: 9.334 MB / 383.8 MB, free: 8.312 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01138/0.5349, allocations: 3.028 MB / 386.9 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004338/0.5394, allocations: 41 kB / 386.9 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004516/0.544, allocations: 0.6386 MB / 387.5 MB, free: 6.293 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006531/0.5506, allocations: 0.7711 MB / 388.3 MB, free: 5.809 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002316/0.553, allocations: 359.7 kB / 388.7 MB, free: 5.586 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009172/0.5622, allocations: 2.682 MB / 391.3 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006098/0.5683, allocations: 1.902 MB / 393.2 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005006/0.5734, allocations: 1.192 MB / 394.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00622/0.5796, allocations: 1.493 MB / 395.9 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002792/0.5825, allocations: 309.3 kB / 396.2 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003701/0.5862, allocations: 399.7 kB / 396.6 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00276/0.589, allocations: 0.8826 MB / 397.5 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00532/0.5944, allocations: 1.407 MB / 398.9 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009424/0.6038, allocations: 4.086 MB / 403 MB, free: 14.65 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.042e-05/0.6039, allocations: 0 / 403 MB, free: 14.65 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.6039, allocations: 0 / 403 MB, free: 14.65 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002538/0.6042, allocations: 1.188 kB / 403 MB, free: 14.65 MB / 334.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.01357/0.6177, allocations: 2.842 MB / 405.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.173e-05/0.6178, allocations: 17.77 kB / 405.9 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002602/0.6204, allocations: 285.8 kB / 406.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006116/0.6266, allocations: 1.449 MB / 407.6 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00031/0.6269, allocations: 150.3 kB / 407.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00135/0.6283, allocations: 213.4 kB / 407.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008874/0.6372, allocations: 2.732 MB / 410.7 MB, free: 9.688 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.155e-05/0.6373, allocations: 11.67 kB / 410.7 MB, free: 9.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002303/0.6376, allocations: 81.31 kB / 410.8 MB, free: 9.617 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001315/0.6377, allocations: 91.62 kB / 410.9 MB, free: 9.605 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005285/0.643, allocations: 2.321 MB / 413.2 MB, free: 8.422 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01629/0.6593, allocations: 8.315 MB / 421.5 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002329/0.6617, allocations: 1.768 MB / 423.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001951/0.6637, allocations: 1.073 MB / 424.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002869/0.664, allocations: 127.2 kB / 424.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/0.664, allocations: 43.56 kB / 424.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 4.518e-06/0.664, allocations: 0 / 424.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=120): time 0.01445/0.6785, allocations: 6.317 MB / 430.8 MB, free: 6.555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.304e-05/0.6786, allocations: 64.41 kB / 430.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002622/0.6812, allocations: 1.516 MB / 432.4 MB, free: 4.953 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001246/0.6814, allocations: 45.7 kB / 432.4 MB, free: 4.902 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008046/0.6822, allocations: 0.9834 MB / 433.4 MB, free: 3.906 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004043/0.6826, allocations: 410 kB / 433.8 MB, free: 3.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004461/0.6831, allocations: 255.4 kB / 434.1 MB, free: 3.246 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.6833, allocations: 365.9 kB / 434.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/0.6845, allocations: 0.73 MB / 435.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/0.6859, allocations: 1.059 MB / 436.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002555/0.6884, allocations: 1.875 MB / 438.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.6885, allocations: 0 / 438.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004264/0.6927, allocations: 2.349 MB / 440.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.405e-05/0.6928, allocations: 12 kB / 440.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/0.6928, allocations: 8.344 kB / 440.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/0.6939, allocations: 415.8 kB / 440.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.6951, allocations: 323.5 kB / 441.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005725/0.7009, allocations: 5.063 MB / 446.2 MB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001985/0.7029, allocations: 91.95 kB / 446.3 MB, free: 6.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/0.703, allocations: 55.94 kB / 446.4 MB, free: 6.344 MB / 366.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.001884/0.7049, allocations: 0.7081 MB / 447.1 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005218/0.7055, allocations: 162 kB / 447.3 MB, free: 5.465 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00405/0.7095, allocations: 2.137 MB / 449.4 MB, free: 3.301 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/0.7095, allocations: 12 kB / 449.4 MB, free: 3.289 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.7096, allocations: 4 kB / 449.4 MB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-05/0.7096, allocations: 11.95 kB / 449.4 MB, free: 3.273 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009119/0.7187, allocations: 4.569 MB / 454 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/0.7188, allocations: 0 / 454 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009966/0.7198, allocations: 227.9 kB / 454.2 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00129/0.7211, allocations: 462.9 kB / 454.7 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.7212, allocations: 35.92 kB / 454.7 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00714/0.7283, allocations: 6.693 MB / 461.4 MB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.7284, allocations: 0 / 461.4 MB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005771/0.7342, allocations: 3.176 MB / 464.6 MB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001642/0.7358, allocations: 407 kB / 465 MB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007349/0.7366, allocations: 24 kB / 465 MB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/0.7377, allocations: 75.91 kB / 465.1 MB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000375/0.7381, allocations: 108.7 kB / 465.2 MB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-05/0.7382, allocations: 40 kB / 465.2 MB, free: 2.867 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001837/0.74, allocations: 1.048 MB / 466.3 MB, free: 1.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.74, allocations: 0 / 466.3 MB, free: 1.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002281/0.7423, allocations: 456 kB / 466.7 MB, free: 1.375 MB / 382.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.0004827/0.7428, allocations: 200.5 kB / 466.9 MB, free: 1.172 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003904/0.7467, allocations: 2.271 MB / 469.2 MB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/0.7468, allocations: 0 / 469.2 MB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002377/0.7492, allocations: 1.492 MB / 470.7 MB, free: 13.28 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002453/0.7516, allocations: 437.3 kB / 471.1 MB, free: 12.86 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008387/0.76, allocations: 4.456 MB / 475.5 MB, free: 8.336 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001609/0.7617, allocations: 1.83 MB / 477.4 MB, free: 6.477 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001552/0.7632, allocations: 397.5 kB / 477.8 MB, free: 6.082 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000351/0.7636, allocations: 107.4 kB / 477.9 MB, free: 5.977 MB / 398.1 MB Notification: Performance of SimCode: time 1.803e-06/0.7636, allocations: 0 / 477.9 MB, free: 5.977 MB / 398.1 MB Notification: Performance of Templates: time 0.05289/0.8165, allocations: 26.43 MB / 0.4925 GB, free: 11.5 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1)