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.01028/0.01028, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001674/0.001674, allocations: 193.8 kB / 16.67 MB, free: 5.93 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.792/1.792, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.00185/0.00185, allocations: 54.3 kB / 326.6 MB, free: 14.3 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1724, allocations: 46.63 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01366/0.1861, allocations: 9.33 MB / 382.5 MB, free: 7.922 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008942/0.1951, allocations: 3.035 MB / 385.5 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001478/0.1967, allocations: 39.81 kB / 385.6 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001801/0.1985, allocations: 0.6327 MB / 386.2 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003067/0.2016, allocations: 0.7727 MB / 387 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.2027, allocations: 355.5 kB / 387.3 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004898/0.2076, allocations: 2.693 MB / 390 MB, free: 380 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003112/0.2108, allocations: 1.896 MB / 391.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003142/0.2139, allocations: 1.187 MB / 393.1 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003621/0.2176, allocations: 1.483 MB / 394.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006254/0.2182, allocations: 312 kB / 394.9 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.2194, allocations: 403.8 kB / 395.3 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001135/0.2206, allocations: 0.8843 MB / 396.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002213/0.2228, allocations: 1.404 MB / 397.6 MB, free: 8.734 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006623/0.2294, allocations: 4.089 MB / 401.7 MB, free: 4.633 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.2295, allocations: 3.938 kB / 401.7 MB, free: 4.629 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.2295, allocations: 4 kB / 401.7 MB, free: 4.625 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001305/0.2296, allocations: 0 / 401.7 MB, free: 4.625 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.008802/0.2384, allocations: 2.845 MB / 404.5 MB, free: 1.715 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.147e-05/0.2385, allocations: 11.89 kB / 404.5 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.2396, allocations: 285.8 kB / 404.8 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003286/0.2429, allocations: 1.449 MB / 406.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001705/0.2431, allocations: 152.3 kB / 406.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003749/0.2435, allocations: 208 kB / 406.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005955/0.2494, allocations: 2.732 MB / 409.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.955e-05/0.2495, allocations: 7.906 kB / 409.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000222/0.2498, allocations: 80 kB / 409.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001452/0.2499, allocations: 95.92 kB / 409.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004673/0.2546, allocations: 2.322 MB / 411.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01503/0.2696, allocations: 8.309 MB / 420.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002327/0.272, allocations: 1.779 MB / 421.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002017/0.2741, allocations: 1.073 MB / 423 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002665/0.2744, allocations: 126.9 kB / 423.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.703e-05/0.2744, allocations: 43.56 kB / 423.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=104): time 5.08e-06/0.2744, allocations: 0 / 423.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=120): time 0.01507/0.2895, allocations: 6.308 MB / 429.5 MB, free: 8.066 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.2896, allocations: 64.41 kB / 429.6 MB, free: 7.992 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002544/0.2922, allocations: 1.512 MB / 431.1 MB, free: 6.469 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001317/0.2923, allocations: 53.62 kB / 431.1 MB, free: 6.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007963/0.2931, allocations: 0.9912 MB / 432.1 MB, free: 5.406 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003929/0.2935, allocations: 414 kB / 432.5 MB, free: 4.996 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000435/0.294, allocations: 251.4 kB / 432.8 MB, free: 4.746 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.2942, allocations: 361.9 kB / 433.1 MB, free: 4.387 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001151/0.2953, allocations: 0.7378 MB / 433.8 MB, free: 3.648 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001377/0.2967, allocations: 1.052 MB / 434.9 MB, free: 2.469 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002759/0.2995, allocations: 1.871 MB / 436.8 MB, free: 480 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/0.2995, allocations: 4 kB / 436.8 MB, free: 476 kB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00454/0.3041, allocations: 2.349 MB / 439.1 MB, free: 14.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.299e-05/0.3041, allocations: 11.98 kB / 439.1 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/0.3042, allocations: 12 kB / 439.1 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/0.3052, allocations: 411.1 kB / 439.6 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.3065, allocations: 323.5 kB / 439.9 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006151/0.3127, allocations: 5.06 MB / 444.9 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/0.3145, allocations: 91.84 kB / 445 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/0.3147, allocations: 55.98 kB / 445.1 MB, free: 7.855 MB / 382.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.001915/0.3166, allocations: 0.7043 MB / 445.8 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004724/0.3171, allocations: 166 kB / 445.9 MB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003927/0.321, allocations: 2.137 MB / 448.1 MB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.321, allocations: 12 kB / 448.1 MB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.3211, allocations: 4 kB / 448.1 MB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.59e-05/0.3211, allocations: 7.969 kB / 448.1 MB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00819/0.3293, allocations: 4.565 MB / 452.7 MB, free: 128 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.3293, allocations: 4.281 kB / 452.7 MB, free: 124 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.3652/0.6946, allocations: 219.3 kB / 452.9 MB, free: 69.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00188/0.6965, allocations: 470.4 kB / 453.3 MB, free: 69.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002607/0.6968, allocations: 31.78 kB / 453.4 MB, free: 69.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007682/0.7045, allocations: 6.678 MB / 460 MB, free: 65.74 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-06/0.7045, allocations: 6.188 kB / 460.1 MB, free: 65.74 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007134/0.7117, allocations: 3.176 MB / 463.2 MB, free: 64.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0014/0.7131, allocations: 398.7 kB / 463.6 MB, free: 64.33 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002234/0.7134, allocations: 28.89 kB / 463.6 MB, free: 64.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008894/0.7143, allocations: 80.59 kB / 463.7 MB, free: 64.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000371/0.7146, allocations: 104.8 kB / 463.8 MB, free: 64.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.429e-05/0.7147, allocations: 38.34 kB / 463.9 MB, free: 64.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001912/0.7167, allocations: 1.046 MB / 464.9 MB, free: 63.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7167, allocations: 0 / 464.9 MB, free: 63.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00201/0.7187, allocations: 463.9 kB / 465.4 MB, free: 63.83 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.0005086/0.7192, allocations: 186.5 kB / 465.5 MB, free: 63.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004352/0.7236, allocations: 2.271 MB / 467.8 MB, free: 62.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/0.7236, allocations: 5 kB / 467.8 MB, free: 62.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002477/0.7261, allocations: 1.49 MB / 469.3 MB, free: 61.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002803/0.7289, allocations: 445 kB / 469.7 MB, free: 61.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008798/0.7377, allocations: 4.476 MB / 474.2 MB, free: 59.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001732/0.7395, allocations: 1.814 MB / 476 MB, free: 58.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001512/0.741, allocations: 403.2 kB / 476.4 MB, free: 58.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003433/0.7414, allocations: 110.7 kB / 476.5 MB, free: 58.63 MB / 382.1 MB Notification: Performance of SimCode: time 3.697e-06/0.7414, allocations: 0 / 476.5 MB, free: 58.63 MB / 382.1 MB Notification: Performance of Templates: time 0.04686/0.7882, allocations: 25.98 MB / 0.4907 GB, free: 34.32 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)