Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 110.3 kB / 16.51 MB, free: 6.715 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.001725/0.001725, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.646/1.646, allocations: 205.1 MB / 223.3 MB, free: 12.4 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.001246/0.001246, allocations: 47.94 kB / 279.3 MB, free: 3.551 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1379, allocations: 46.63 MB / 326 MB, free: 4.859 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01309/0.1511, allocations: 9.576 MB / 335.6 MB, free: 11.23 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009211/0.1604, allocations: 3.051 MB / 338.6 MB, free: 8.168 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00299/0.1635, allocations: 39.81 kB / 338.6 MB, free: 8.129 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002436/0.166, allocations: 0.5477 MB / 339.2 MB, free: 7.578 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004136/0.1702, allocations: 0.6642 MB / 339.9 MB, free: 6.91 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.1716, allocations: 331.7 kB / 340.2 MB, free: 6.586 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004637/0.1762, allocations: 2.756 MB / 342.9 MB, free: 3.812 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002039/0.1783, allocations: 1.406 MB / 344.3 MB, free: 2.367 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001874/0.1802, allocations: 0.9339 MB / 345.3 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00219/0.1824, allocations: 1.276 MB / 346.5 MB, free: 152 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004385/0.1828, allocations: 176 kB / 346.7 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008401/0.1837, allocations: 279.8 kB / 347 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007573/0.1845, allocations: 0.6737 MB / 347.7 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001385/0.1859, allocations: 1.158 MB / 348.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003437/0.1893, allocations: 3.516 MB / 352.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.1893, allocations: 4 kB / 352.3 MB, free: 10.33 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1893, allocations: 0 / 352.3 MB, free: 10.33 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.747e-05/0.1894, allocations: 0 / 352.3 MB, free: 10.33 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.006094/0.1955, allocations: 2.587 MB / 354.9 MB, free: 7.688 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.1956, allocations: 8.031 kB / 354.9 MB, free: 7.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007879/0.1964, allocations: 266.1 kB / 355.2 MB, free: 7.418 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002156/0.1986, allocations: 1.264 MB / 356.5 MB, free: 6.098 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.1987, allocations: 140.2 kB / 356.6 MB, free: 5.961 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002941/0.199, allocations: 200 kB / 356.8 MB, free: 5.766 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004431/0.2034, allocations: 2.419 MB / 359.2 MB, free: 3.309 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.949e-05/0.2035, allocations: 7.906 kB / 359.2 MB, free: 3.301 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001788/0.2037, allocations: 79.98 kB / 359.3 MB, free: 3.223 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000102/0.2038, allocations: 91.67 kB / 359.4 MB, free: 3.133 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003431/0.2073, allocations: 1.959 MB / 361.3 MB, free: 1.172 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01459/0.2219, allocations: 7.847 MB / 369.2 MB, free: 9.082 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001911/0.2238, allocations: 1.228 MB / 370.4 MB, free: 7.812 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001831/0.2257, allocations: 0.9401 MB / 371.4 MB, free: 6.867 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003154/0.226, allocations: 118.1 kB / 371.5 MB, free: 6.734 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.054e-05/0.2261, allocations: 51.5 kB / 371.5 MB, free: 6.672 MB / 318.1 MB Notification: Performance of pre-optimization done (n=95): time 3.446e-06/0.2261, allocations: 0 / 371.5 MB, free: 6.672 MB / 318.1 MB Notification: Performance of matching and sorting (n=111): time 0.01421/0.2403, allocations: 5.87 MB / 377.4 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.663e-05/0.2405, allocations: 64.41 kB / 377.5 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2405/0.481, allocations: 1.301 MB / 378.8 MB, free: 51.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003062/0.4814, allocations: 43.33 kB / 378.8 MB, free: 51.89 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008495/0.4822, allocations: 0.9207 MB / 379.7 MB, free: 51.74 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004692/0.4827, allocations: 392.4 kB / 380.1 MB, free: 51.49 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005232/0.4832, allocations: 244.9 kB / 380.3 MB, free: 51.38 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.4834, allocations: 360.9 kB / 380.7 MB, free: 51.05 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/0.4848, allocations: 0.6338 MB / 381.3 MB, free: 50.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/0.4861, allocations: 1.008 MB / 382.3 MB, free: 50.16 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002673/0.4888, allocations: 1.728 MB / 384.1 MB, free: 49.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.4888, allocations: 3.281 kB / 384.1 MB, free: 49.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004726/0.4935, allocations: 2.247 MB / 386.3 MB, free: 48.3 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.92e-05/0.4936, allocations: 11.2 kB / 386.3 MB, free: 48.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.22e-05/0.4936, allocations: 13.91 kB / 386.3 MB, free: 48.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001583/0.4952, allocations: 497.2 kB / 386.8 MB, free: 48.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/0.4965, allocations: 297.3 kB / 387.1 MB, free: 48.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007578/0.5041, allocations: 6.538 MB / 393.7 MB, free: 43.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.5058, allocations: 85.25 kB / 393.7 MB, free: 43.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.5059, allocations: 56.67 kB / 393.8 MB, free: 43.01 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 3 systems {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001124/0.5071, allocations: 0.5999 MB / 394.4 MB, free: 42.65 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002943/0.5074, allocations: 146.1 kB / 394.5 MB, free: 42.58 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003577/0.511, allocations: 1.963 MB / 396.5 MB, free: 41.77 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.511, allocations: 14.81 kB / 396.5 MB, free: 41.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.511, allocations: 9.219 kB / 396.5 MB, free: 41.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.511, allocations: 7.734 kB / 396.5 MB, free: 41.77 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00657/0.5176, allocations: 4.134 MB / 400.7 MB, free: 39.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.323e-06/0.5176, allocations: 3.812 kB / 400.7 MB, free: 39.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000773/0.5184, allocations: 187.8 kB / 400.9 MB, free: 39.9 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001352/0.5198, allocations: 0.5413 MB / 401.4 MB, free: 39.61 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.012e-05/0.5199, allocations: 28.61 kB / 401.4 MB, free: 39.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006538/0.5264, allocations: 8.044 MB / 409.5 MB, free: 31.94 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.5265, allocations: 0 / 409.5 MB, free: 31.94 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004232/0.5307, allocations: 2.845 MB / 412.3 MB, free: 29.04 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008416/0.5316, allocations: 355.3 kB / 412.7 MB, free: 28.67 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002014/0.5318, allocations: 35.59 kB / 412.7 MB, free: 28.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007355/0.5325, allocations: 67.92 kB / 412.8 MB, free: 28.57 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000274/0.5328, allocations: 87.72 kB / 412.8 MB, free: 28.49 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-05/0.5329, allocations: 35.98 kB / 412.9 MB, free: 28.45 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001285/0.5342, allocations: 0.8878 MB / 413.8 MB, free: 27.56 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5342, allocations: 0 / 413.8 MB, free: 27.56 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001809/0.536, allocations: 436 kB / 414.2 MB, free: 27.14 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (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,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,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.0003826/0.5364, allocations: 177.7 kB / 414.4 MB, free: 26.96 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003124/0.5396, allocations: 2.228 MB / 416.6 MB, free: 24.66 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.5396, allocations: 0.5625 kB / 416.6 MB, free: 24.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00188/0.5415, allocations: 1.518 MB / 418.1 MB, free: 23.07 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/0.5435, allocations: 398.5 kB / 418.5 MB, free: 22.69 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007346/0.5509, allocations: 4.957 MB / 423.5 MB, free: 17.7 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001151/0.5521, allocations: 1.654 MB / 425.1 MB, free: 16.01 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001302/0.5534, allocations: 320.8 kB / 425.4 MB, free: 15.69 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.5537, allocations: 99.42 kB / 425.5 MB, free: 15.59 MB / 318.1 MB Notification: Performance of SimCode: time 1.453e-06/0.5537, allocations: 0 / 425.5 MB, free: 15.59 MB / 318.1 MB Notification: Performance of Templates: time 0.0434/0.5971, allocations: 22.81 MB / 448.3 MB, free: 8.766 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1)